summaryrefslogtreecommitdiff
path: root/agg/inc/agg_conv_concat.h
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2011-10-16 03:13:16 +0000
committerPedro Giffuni <pfg@apache.org>2011-10-16 03:13:16 +0000
commitef33060ab118d5ede5e96660dc05a3f961279392 (patch)
tree40e76ef24a102c6ec7f6113ea36b0baf2fd86cf6 /agg/inc/agg_conv_concat.h
parent9d049b71d03c9073f77ab7f712c4551df3ae9a56 (diff)
i118508 - Update Anti-Grain Geometry (AGG) to version 2.4. Disable in configure since this is not really used by anything.
Diffstat (limited to 'agg/inc/agg_conv_concat.h')
-rwxr-xr-xagg/inc/agg_conv_concat.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/agg/inc/agg_conv_concat.h b/agg/inc/agg_conv_concat.h
index 2b9886a1be46..dffaf656c23a 100755
--- a/agg/inc/agg_conv_concat.h
+++ b/agg/inc/agg_conv_concat.h
@@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
-// Anti-Grain Geometry - Version 2.3
+// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
@@ -17,7 +17,6 @@
#define AGG_CONV_CONCAT_INCLUDED
#include "agg_basics.h"
-#include "agg_vertex_iterator.h"
namespace agg
{
@@ -29,14 +28,13 @@ namespace agg
public:
conv_concat(VS1& source1, VS2& source2) :
m_source1(&source1), m_source2(&source2), m_status(2) {}
+ void attach1(VS1& source) { m_source1 = &source; }
+ void attach2(VS2& source) { m_source2 = &source; }
- void set_source1(VS1& source) { m_source1 = &source; }
- void set_source2(VS2& source) { m_source2 = &source; }
-
- void rewind(unsigned id)
+ void rewind(unsigned path_id)
{
- m_source1->rewind(id);
+ m_source1->rewind(path_id);
m_source2->rewind(0);
m_status = 0;
}
@@ -59,11 +57,6 @@ namespace agg
return path_cmd_stop;
}
- typedef conv_concat<VS1, VS2> source_type;
- typedef vertex_iterator<source_type> iterator;
- iterator begin(unsigned id) { return iterator(*this, id); }
- iterator end() { return iterator(path_cmd_stop); }
-
private:
conv_concat(const conv_concat<VS1, VS2>&);
const conv_concat<VS1, VS2>&