LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
drawinglayer::primitive2d::OverlayCrosshairPrimitive Class Referencefinal

#include <overlaytools.hxx>

Inheritance diagram for drawinglayer::primitive2d::OverlayCrosshairPrimitive:
[legend]
Collaboration diagram for drawinglayer::primitive2d::OverlayCrosshairPrimitive:
[legend]

Public Member Functions

 OverlayCrosshairPrimitive (const basegfx::B2DPoint &rBasePosition, const basegfx::BColor &rRGBColorA, const basegfx::BColor &rRGBColorB, double fDiscreteDashLength)
 
const basegfx::B2DPointgetBasePosition () const
 
const basegfx::BColorgetRGBColorA () const
 
const basegfx::BColorgetRGBColorB () 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::B2DRangegetViewport () 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 Primitive2DContainergetBuffered2DDecomposition () const
 
void setBuffered2DDecomposition (Primitive2DContainer &&rNew)
 
virtual void create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const=0
 

Detailed Description

Definition at line 116 of file overlaytools.hxx.

Constructor & Destructor Documentation

◆ OverlayCrosshairPrimitive()

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.

Member Function Documentation

◆ create2DDecomposition()

void drawinglayer::primitive2d::OverlayCrosshairPrimitive::create2DDecomposition ( Primitive2DContainer rContainer,
const geometry::ViewInformation2D rViewInformation 
) const
overrideprivatevirtual

◆ getBasePosition()

const basegfx::B2DPoint & drawinglayer::primitive2d::OverlayCrosshairPrimitive::getBasePosition ( ) const
inline

Definition at line 137 of file overlaytools.hxx.

References maBasePosition.

Referenced by create2DDecomposition(), and operator==().

◆ getDiscreteDashLength()

double drawinglayer::primitive2d::OverlayCrosshairPrimitive::getDiscreteDashLength ( ) const
inline

Definition at line 140 of file overlaytools.hxx.

References mfDiscreteDashLength.

Referenced by create2DDecomposition(), and operator==().

◆ getPrimitive2DID()

sal_uInt32 drawinglayer::primitive2d::OverlayCrosshairPrimitive::getPrimitive2DID ( ) const
overridevirtual

◆ getRGBColorA()

const basegfx::BColor & drawinglayer::primitive2d::OverlayCrosshairPrimitive::getRGBColorA ( ) const
inline

Definition at line 138 of file overlaytools.hxx.

References maRGBColorA.

Referenced by create2DDecomposition(), and operator==().

◆ getRGBColorB()

const basegfx::BColor & drawinglayer::primitive2d::OverlayCrosshairPrimitive::getRGBColorB ( ) const
inline

Definition at line 139 of file overlaytools.hxx.

References maRGBColorB.

Referenced by create2DDecomposition(), and operator==().

◆ operator==()

bool drawinglayer::primitive2d::OverlayCrosshairPrimitive::operator== ( const BasePrimitive2D rPrimitive) const
overridevirtual

Member Data Documentation

◆ maBasePosition

basegfx::B2DPoint drawinglayer::primitive2d::OverlayCrosshairPrimitive::maBasePosition
private

Definition at line 120 of file overlaytools.hxx.

Referenced by getBasePosition().

◆ maRGBColorA

basegfx::BColor drawinglayer::primitive2d::OverlayCrosshairPrimitive::maRGBColorA
private

Definition at line 123 of file overlaytools.hxx.

Referenced by getRGBColorA().

◆ maRGBColorB

basegfx::BColor drawinglayer::primitive2d::OverlayCrosshairPrimitive::maRGBColorB
private

Definition at line 124 of file overlaytools.hxx.

Referenced by getRGBColorB().

◆ mfDiscreteDashLength

double drawinglayer::primitive2d::OverlayCrosshairPrimitive::mfDiscreteDashLength
private

Definition at line 125 of file overlaytools.hxx.

Referenced by getDiscreteDashLength().


The documentation for this class was generated from the following files: