namespace drawinglayer::primitive2d
{ class SdrPathPrimitive2D final : public BufferedDecompositionPrimitive2D
{ private:
basegfx::B2DHomMatrix maTransform;
attribute::SdrLineFillEffectsTextAttribute maSdrLFSTAttribute;
basegfx::B2DPolyPolygon maUnitPolyPolygon;
// OperationSmiley: Added to be able to define a FillGeometry different from local // geometry. It is ignored when empty and/or equal to UnitPolyPolygon. // If used and there is a fill, the object's geometry (maUnitPolyPolygon) will be filled, // but UnitDefinitionPolyPolygon will be used to define the FillStyle. Thus when // using the 'same' UnitDefinitionPolyPolygon for multiple definitions, // all filled stuff using it will fit seamlessly together. // 'same' is in quotes since it is a UnitPolygon, so being relative to the // unit polygon of the local geometry (UnitPolyPolygon). The definition is complete // when applying the also given transformation (maTransform)
basegfx::B2DPolyPolygon maUnitDefinitionPolyPolygon;
// local decomposition. virtual Primitive2DReference create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const override;
public: // OperationSmiley: Extended to UnitDefinitionPolyPolygon, but when needed // a 2nd version without can be defined that just does not set the // maUnitDefinitionPolyPolygon or set equal to UnitPolyPolygon
SdrPathPrimitive2D(
basegfx::B2DHomMatrix aTransform, const attribute::SdrLineFillEffectsTextAttribute& rSdrLFSTAttribute,
basegfx::B2DPolyPolygon aUnitPolyPolygon,
basegfx::B2DPolyPolygon aUnitDefinitionPolyPolygon);
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.