class OverlayStaticRectanglePrimitive final : public DiscreteMetricDependentPrimitive2D
{ private:
basegfx::B2DPoint maPosition;
basegfx::B2DSize maSize;
// the graphic definition
basegfx::BColor maStrokeColor;
basegfx::BColor maFillColor; double mfTransparence;
// the rotation of the primitive itself double mfRotation;
// Overlay helper class which holds a BotmapEx which is to be visualized // at the given logic position with the Bitmap's pixel size, unscaled and // unrotated (like a marker). The discrete pixel on the bitmap associated // with the target position is given in discrete X,Y coordinates namespace drawinglayer::primitive2d
{ class OverlayBitmapExPrimitive final : public DiscreteMetricDependentPrimitive2D
{ private: // The BitmapEx to use, PixelSize is used
BitmapEx maBitmapEx;
// The logic position
basegfx::B2DPoint maBasePosition;
// The pixel inside the BitmapEx which is associated with // the target position (offset in the bitmap)
sal_uInt16 mnCenterX;
sal_uInt16 mnCenterY;
// evtl. rotation and shear around center double mfShearX; double mfRotation;
virtual sal_uInt32 getPrimitive2DID() const override;
};
} // end of namespace drawinglayer::primitive2d
// Overlay helper class for a crosshair namespace drawinglayer::primitive2d
{ class OverlayCrosshairPrimitive final : public ViewportDependentPrimitive2D
{ private: // The logic position
basegfx::B2DPoint maBasePosition;
// The stripe colors and length
basegfx::BColor maRGBColorA;
basegfx::BColor maRGBColorB; double mfDiscreteDashLength;
virtual sal_uInt32 getPrimitive2DID() const override;
};
} // end of namespace drawinglayer::primitive2d
// Overlay helper class for a hatch rectangle as used e.g. for text object // selection highlighting namespace drawinglayer::primitive2d
{ class OverlayRectanglePrimitive final : public DiscreteMetricDependentPrimitive2D
{ private: // the logic rectangle definition
basegfx::B2DRange maObjectRange;
// the graphic definition
basegfx::BColor maColor; double mfTransparence;
// the discrete grow and shrink of the box double mfDiscreteGrow; double mfDiscreteShrink;
// the rotation of the primitive itself double mfRotation;
virtual sal_uInt32 getPrimitive2DID() const override;
};
} // end of namespace drawinglayer::primitive2d
// Overlay helper class for rolling rectangle helplines. This primitive is // only for the extended lines to the ends of the view
namespace drawinglayer::primitive2d
{ class OverlayRollingRectanglePrimitive final : public ViewportDependentPrimitive2D
{ private: // The logic range
basegfx::B2DRange maRollingRectangle;
// The stripe colors and length
basegfx::BColor maRGBColorA;
basegfx::BColor maRGBColorB; double mfDiscreteDashLength;
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.