LibreOffice Module svx (master) 1
|
#include <overlaytools.hxx>
Public Member Functions | |
OverlayCrosshairPrimitive (const basegfx::B2DPoint &rBasePosition, const basegfx::BColor &rRGBColorA, const basegfx::BColor &rRGBColorB, double fDiscreteDashLength) | |
const basegfx::B2DPoint & | getBasePosition () const |
const basegfx::BColor & | getRGBColorA () const |
const basegfx::BColor & | getRGBColorB () const |
double | getDiscreteDashLength () const |
virtual bool | operator== (const BasePrimitive2D &rPrimitive) const override |
virtual sal_uInt32 | getPrimitive2DID () const override |
Public Member Functions inherited from drawinglayer::primitive2d::ViewportDependentPrimitive2D | |
ViewportDependentPrimitive2D () | |
const basegfx::B2DRange & | getViewport () const |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override |
Public Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
BufferedDecompositionPrimitive2D () | |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override |
void | setTransparenceForShadow (sal_uInt16 nTransparenceForShadow) |
sal_uInt16 | getTransparenceForShadow () const |
Public Member Functions inherited from drawinglayer::primitive2d::BasePrimitive2D | |
BasePrimitive2D () | |
virtual | ~BasePrimitive2D () override |
virtual bool | operator== (const BasePrimitive2D &rPrimitive) const |
bool | operator!= (const BasePrimitive2D &rPrimitive) const |
virtual basegfx::B2DRange | getB2DRange (const geometry::ViewInformation2D &rViewInformation) const |
virtual sal_uInt32 | getPrimitive2DID () const=0 |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const |
Primitive2DContainer | getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
css::geometry::RealRectangle2D | getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
virtual sal_Int64 | estimateUsage () |
Private Member Functions | |
virtual void | create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const override |
Private Attributes | |
basegfx::B2DPoint | maBasePosition |
basegfx::BColor | maRGBColorA |
basegfx::BColor | maRGBColorB |
double | mfDiscreteDashLength |
Additional Inherited Members | |
Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
const Primitive2DContainer & | getBuffered2DDecomposition () const |
void | setBuffered2DDecomposition (Primitive2DContainer &&rNew) |
virtual void | create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const=0 |
Definition at line 116 of file overlaytools.hxx.
drawinglayer::primitive2d::OverlayCrosshairPrimitive::OverlayCrosshairPrimitive | ( | const basegfx::B2DPoint & | rBasePosition, |
const basegfx::BColor & | rRGBColorA, | ||
const basegfx::BColor & | rRGBColorB, | ||
double | fDiscreteDashLength | ||
) |
Definition at line 215 of file overlaytools.cxx.
References maBasePosition.
|
overrideprivatevirtual |
Implements drawinglayer::primitive2d::BufferedDecompositionPrimitive2D.
Definition at line 226 of file overlaytools.cxx.
References basegfx::B2DPolygon::append(), basegfx::B2DPolygon::clear(), getBasePosition(), getDiscreteDashLength(), getRGBColorA(), getRGBColorB(), and drawinglayer::primitive2d::ViewportDependentPrimitive2D::getViewport().
|
inline |
Definition at line 137 of file overlaytools.hxx.
References maBasePosition.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 140 of file overlaytools.hxx.
References mfDiscreteDashLength.
Referenced by create2DDecomposition(), and operator==().
|
overridevirtual |
Implements drawinglayer::primitive2d::BasePrimitive2D.
Definition at line 272 of file overlaytools.cxx.
References PRIMITIVE2D_ID_OVERLAYCROSSHAIRPRIMITIVE.
|
inline |
Definition at line 138 of file overlaytools.hxx.
References maRGBColorA.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 139 of file overlaytools.hxx.
References maRGBColorB.
Referenced by create2DDecomposition(), and operator==().
|
overridevirtual |
Reimplemented from drawinglayer::primitive2d::BasePrimitive2D.
Definition at line 257 of file overlaytools.cxx.
References getBasePosition(), getDiscreteDashLength(), getRGBColorA(), and getRGBColorB().
|
private |
Definition at line 120 of file overlaytools.hxx.
Referenced by getBasePosition().
|
private |
Definition at line 123 of file overlaytools.hxx.
Referenced by getRGBColorA().
|
private |
Definition at line 124 of file overlaytools.hxx.
Referenced by getRGBColorB().
|
private |
Definition at line 125 of file overlaytools.hxx.
Referenced by getDiscreteDashLength().