/** this class implements some helper functions to edit a B2DPolyPolygon */ class SVXCORE_DLLPUBLIC PolyPolygonEditor
{ public:
PolyPolygonEditor( basegfx::B2DPolyPolygon aPolyPolygon);
/** returns true if the B2DPolyPolygon was changed. Warning:B2DPolyPolygoncanbeemptyafterthisoperation!
*/ bool DeletePoints( const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints );
/** returns true if the B2DPolyPolygon was changed.
*/ bool SetSegmentsKind(SdrPathSegmentKind eKind, const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints);
/** returns true if the B2DPolyPolygon was changed.
*/ bool SetPointsSmooth( basegfx::B2VectorContinuity eFlags, const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints);
/** Outputs the relative position ( polygon number and point number in that polygon ) from the absolute point number. FalseisreturnedifthegivenabsolutepointisgreaternotinsidethisB2DPolyPolygon
*/ staticbool GetRelativePolyPoint( const basegfx::B2DPolyPolygon& rPoly, sal_uInt32 nAbsPnt, sal_uInt32& rPolyNum, sal_uInt32& rPointNum );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.