summaryrefslogtreecommitdiff
path: root/basegfx/source/range
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/range')
-rw-r--r--basegfx/source/range/b2dpolyrange.cxx40
1 files changed, 40 insertions, 0 deletions
diff --git a/basegfx/source/range/b2dpolyrange.cxx b/basegfx/source/range/b2dpolyrange.cxx
index c4969b38712c..d35af8f5dd0c 100644
--- a/basegfx/source/range/b2dpolyrange.cxx
+++ b/basegfx/source/range/b2dpolyrange.cxx
@@ -227,6 +227,26 @@ namespace basegfx
return tools::solveCrossovers(maRanges,maOrient);
}
+ const B2DRange* begin() const
+ {
+ return &maRanges.front();
+ }
+
+ const B2DRange* end() const
+ {
+ return &maRanges[maRanges.size()];
+ }
+
+ B2DRange* begin()
+ {
+ return &maRanges.front();
+ }
+
+ B2DRange* end()
+ {
+ return &maRanges[maRanges.size()];
+ }
+
private:
B2DRange maBounds;
std::vector<B2DRange> maRanges;
@@ -366,6 +386,26 @@ namespace basegfx
return mpImpl->solveCrossovers();
}
+ const B2DRange* B2DPolyRange::begin() const
+ {
+ return mpImpl->begin();
+ }
+
+ const B2DRange* B2DPolyRange::end() const
+ {
+ return mpImpl->end();
+ }
+
+ B2DRange* B2DPolyRange::begin()
+ {
+ return mpImpl->begin();
+ }
+
+ B2DRange* B2DPolyRange::end()
+ {
+ return mpImpl->end();
+ }
+
} // end of namespace basegfx
// eof