19#ifndef INCLUDED_SVX_XPOLY_HXX
20#define INCLUDED_SVX_XPOLY_HXX
37#define XPOLYPOLY_APPEND 0xFFFF
38#define XPOLY_APPEND 0xFFFF
50 void SubdivideBezier(sal_uInt16 nPos,
bool bCalcFirst,
double fT);
53 sal_uInt16 nQuad, sal_uInt16 nFirst);
68 sal_uInt16 GetSize()
const;
70 void SetPointCount( sal_uInt16 nPoints );
71 sal_uInt16 GetPointCount()
const;
75 void Remove( sal_uInt16 nPos, sal_uInt16 nCount );
79 const Point& operator[]( sal_uInt16 nPos )
const;
80 Point& operator[]( sal_uInt16 nPos );
85 PolyFlags GetFlags( sal_uInt16 nPos )
const;
87 bool IsControl(sal_uInt16 nPos)
const;
88 bool IsSmooth(sal_uInt16 nPos)
const;
91 double CalcDistance(sal_uInt16 nP1, sal_uInt16 nP2);
94 void CalcSmoothJoin(sal_uInt16 nCenter, sal_uInt16 nDrag, sal_uInt16 nPnt);
95 void CalcTangent(sal_uInt16 nCenter, sal_uInt16 nPrev, sal_uInt16 nNext);
96 void PointsToBezier(sal_uInt16 nFirst);
99 void Scale(
double fSx,
double fSy);
127 void Remove( sal_uInt16 nPos );
131 sal_uInt16
Count()
const;
o3tl::cow_wrapper< ImpXPolyPolygon > pImpXPolyPolygon
tools::Rectangle GetBoundRect() const
const XPolygon & operator[](sal_uInt16 nPos) const
void Remove(sal_uInt16 nPos)
basegfx::B2DPolyPolygon getB2DPolyPolygon() const
XPolyPolygon & operator=(const XPolyPolygon &)
XPolyPolygon & operator=(XPolyPolygon &&)
void Insert(XPolygon &&rXPoly)
XPolyPolygon(XPolyPolygon &&)
XPolyPolygon(const XPolyPolygon &)
const XPolygon & GetObject(sal_uInt16 nPos) const
void Distort(const tools::Rectangle &rRefRect, const XPolygon &rDistortedRect)
Distort a polygon by scaling its coordinates relative to a reference rectangle into an arbitrary rect...
XPolygon & operator=(const XPolygon &)
XPolygon & operator=(XPolygon &&)
XPolygon(const XPolygon &)
o3tl::cow_wrapper< ImpXPolygon > pImpXPolygon
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
void SetFlags(EVControlBits &rBits, EVControlBits nMask, bool bOn)
#define SVXCORE_DLLPUBLIC
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)