133 void remove(sal_uInt32 nIndex, sal_uInt32 nCount)
139 auto aEnd(aStart +
nCount);
153 rPolygon.setClosed(bNew);
166 aPolygon.removeDoublePoints();
172 aPolygon.transform(rMatrix);
178 aPolygon.makeUnique();
246 return !((*this) == rPolyPolygon);
267 for(sal_uInt32
a(0);
a <
count();
a++)
304 for (sal_uInt32
a(0);
a <
count();
a++)
317 for(sal_uInt32
a(0);
a <
count();
a++)
327 if(rPolyPolygon.
count())
333 if(rPolyPolygon.
count())
352 for(sal_uInt32
a(0);
a <
count();
a++)
377 for(sal_uInt32
a(0);
a <
count();
a++)
void insert(sal_uInt32 nIndex, const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
const B2DPolygon * begin() const
void makeUnique()
unshare this poly-polygon (and all included polygons) with all internally shared instances
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
bool operator==(const B2DPolyPolygon &rPolyPolygon) const
B2DPolyPolygon & operator=(const B2DPolyPolygon &rPolyPolygon)
o3tl::cow_wrapper< ImplB2DPolyPolygon, o3tl::ThreadSafeRefCountingPolicy > mpPolyPolygon
bool operator!=(const B2DPolyPolygon &rPolyPolygon) const
void removeDoublePoints()
void setB2DPolygon(sal_uInt32 nIndex, const B2DPolygon &rPolygon)
void transform(const basegfx::B2DHomMatrix &rMatrix)
void setClosed(bool bNew)
B2DRange getB2DRange() const
Get the B2DRange (Rectangle dimensions) of this B2DPolyPolygon.
void addOrReplaceSystemDependentDataInternal(SystemDependentData_SharedPtr &rData) const
bool areControlPointsUsed() const
void remove(sal_uInt32 nIndex, sal_uInt32 nCount=1)
SystemDependentData_SharedPtr getSystemDependantDataInternal(size_t hash_code) const
const B2DPolygon * end() const
B2DPolyPolygon getDefaultAdaptiveSubdivision() const
Default adaptive subdivision access.
bool hasDoublePoints() const
void reserve(sal_uInt32 nCount)
bool isClosed() const
closed state interface
bool hasDoublePoints() const
test if Polygon has double points
bool areControlPointsUsed() const
ControlPoint checks.
B2DRange const & getB2DRange() const
Get the B2DRange (Rectangle dimensions) of this B2DPolygon.
B2DPolygon const & getDefaultAdaptiveSubdivision() const
Default adaptive subdivision access.
A two-dimensional interval over doubles.
const basegfx::B2DPolygon * begin() const
void insert(sal_uInt32 nIndex, const basegfx::B2DPolygon &rPolygon, sal_uInt32 nCount)
const basegfx::B2DPolygon & getB2DPolygon(sal_uInt32 nIndex) const
std::unique_ptr< basegfx::SystemDependentDataHolder > mpSystemDependentDataHolder
void append(const basegfx::B2DPolyPolygon &rPolyPolygon)
const basegfx::B2DPolygon * end() const
void removeDoublePoints()
void remove(sal_uInt32 nIndex, sal_uInt32 nCount)
void insert(sal_uInt32 nIndex, const basegfx::B2DPolyPolygon &rPolyPolygon)
bool operator==(const ImplB2DPolyPolygon &rPolygonList) const
basegfx::SystemDependentData_SharedPtr getSystemDependentData(size_t hash_code) const
basegfx::B2DPolygonVector maPolygons
void reserve(sal_uInt32 nCount)
ImplB2DPolyPolygon(const ImplB2DPolyPolygon &rSource)
void setB2DPolygon(sal_uInt32 nIndex, const basegfx::B2DPolygon &rPolygon)
ImplB2DPolyPolygon & operator=(const ImplB2DPolyPolygon &rSource)
basegfx::B2DPolygon * begin()
void addOrReplaceSystemDependentData(basegfx::SystemDependentData_SharedPtr &rData) const
void append(const basegfx::B2DPolygon &rPolygon, sal_uInt32 nCount)
ImplB2DPolyPolygon(const basegfx::B2DPolygon &rToBeCopied)
basegfx::B2DPolygon * end()
void transform(const basegfx::B2DHomMatrix &rMatrix)
void setClosed(bool bNew)
void expand(const Tuple2D< TYPE > &rTuple)
add point to the set, expanding as necessary
::std::vector< B2DPolygon > B2DPolygonVector
std::shared_ptr< SystemDependentData > SystemDependentData_SharedPtr