34 class ImplB2DPolyPolygon;
60 sal_uInt32
count()
const;
62 B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex)
const;
63 void setB2DPolygon(sal_uInt32 nIndex,
const B2DPolygon& rPolygon);
66 bool areControlPointsUsed()
const;
69 void insert(sal_uInt32 nIndex,
const B2DPolygon& rPolygon, sal_uInt32 nCount = 1);
70 void append(
const B2DPolygon& rPolygon, sal_uInt32 nCount = 1);
71 void reserve(sal_uInt32 nCount);
92 void insert(sal_uInt32 nIndex,
const B2DPolyPolygon& rPolyPolygon);
96 void remove(sal_uInt32 nIndex, sal_uInt32 nCount = 1);
102 bool isClosed()
const;
103 void setClosed(
bool bNew);
109 bool hasDoublePoints()
const;
112 void removeDoublePoints();
127 return std::static_pointer_cast<T>(getSystemDependantDataInternal(
typeid(T).hash_code()));
130 template<
class T,
class... Args>
133 std::shared_ptr<T> r = std::make_shared<T>(std::forward<Args>(
args)...);
136 if(r->calculateCombinedHoldCyclesInSeconds() > 0)
139 addOrReplaceSystemDependentDataInternal(r2);
153 template<
typename charT,
typename traits >
154 inline std::basic_ostream<charT, traits> &
operator <<(
155 std::basic_ostream<charT, traits> & stream,
const B2DPolyPolygon& poly )
158 for (sal_uInt32
i = 0;
i < poly.
count();
i++)
#define BASEGFX_DLLPUBLIC
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
B2DPolyPolygon & operator=(const B2DPolyPolygon &rPolyPolygon)
o3tl::cow_wrapper< ImplB2DPolyPolygon, o3tl::ThreadSafeRefCountingPolicy > mpPolyPolygon
std::shared_ptr< T > addOrReplaceSystemDependentData(Args &&... args) const
std::shared_ptr< T > getSystemDependentData() const
B2DPolyPolygon(const B2DPolyPolygon &rPolyPolygon)
B2DPolyPolygon & operator=(B2DPolyPolygon &&rPolyPolygon)
B2DPolyPolygon(B2DPolyPolygon &&rPolyPolygon)
A two-dimensional interval over doubles.
Reference< XOutputStream > stream
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, BColor const &color)
std::shared_ptr< SystemDependentData > SystemDependentData_SharedPtr
::std::vector< B2DPolyPolygon > B2DPolyPolygonVector
OUStringBuffer & remove(OUStringBuffer &rIn, sal_Unicode c)
enumrange< T >::Iterator begin(enumrange< T >)
bool operator!=(const XclExpString &rLeft, const XclExpString &rRight)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)