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

#include <overlaytools.hxx>

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

Public Member Functions

 OverlayRectanglePrimitive (const basegfx::B2DRange &rObjectRange, const basegfx::BColor &rColor, double fTransparence, double fDiscreteGrow, double fDiscreteShrink, double fRotation)
 
const basegfx::B2DRangegetObjectRange () const
 
const basegfx::BColorgetColor () const
 
double getTransparence () const
 
double getDiscreteGrow () const
 
double getDiscreteShrink () const
 
double getRotation () const
 
virtual bool operator== (const BasePrimitive2D &rPrimitive) const override
 
virtual sal_uInt32 getPrimitive2DID () const override
 
- Public Member Functions inherited from drawinglayer::primitive2d::DiscreteMetricDependentPrimitive2D
 DiscreteMetricDependentPrimitive2D ()
 
double getDiscreteUnit () 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::B2DRange maObjectRange
 
basegfx::BColor maColor
 
double mfTransparence
 
double mfDiscreteGrow
 
double mfDiscreteShrink
 
double mfRotation
 

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 154 of file overlaytools.hxx.

Constructor & Destructor Documentation

◆ OverlayRectanglePrimitive()

drawinglayer::primitive2d::OverlayRectanglePrimitive::OverlayRectanglePrimitive ( const basegfx::B2DRange rObjectRange,
const basegfx::BColor rColor,
double  fTransparence,
double  fDiscreteGrow,
double  fDiscreteShrink,
double  fRotation 
)

Definition at line 279 of file overlaytools.cxx.

References maColor.

Member Function Documentation

◆ create2DDecomposition()

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

◆ getColor()

const basegfx::BColor & drawinglayer::primitive2d::OverlayRectanglePrimitive::getColor ( ) const
inline

Definition at line 184 of file overlaytools.hxx.

References maColor.

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

◆ getDiscreteGrow()

double drawinglayer::primitive2d::OverlayRectanglePrimitive::getDiscreteGrow ( ) const
inline

Definition at line 186 of file overlaytools.hxx.

References mfDiscreteGrow.

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

◆ getDiscreteShrink()

double drawinglayer::primitive2d::OverlayRectanglePrimitive::getDiscreteShrink ( ) const
inline

Definition at line 187 of file overlaytools.hxx.

References mfDiscreteShrink.

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

◆ getObjectRange()

const basegfx::B2DRange & drawinglayer::primitive2d::OverlayRectanglePrimitive::getObjectRange ( ) const
inline

Definition at line 183 of file overlaytools.hxx.

References maObjectRange.

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

◆ getPrimitive2DID()

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

◆ getRotation()

double drawinglayer::primitive2d::OverlayRectanglePrimitive::getRotation ( ) const
inline

Definition at line 188 of file overlaytools.hxx.

References mfRotation.

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

◆ getTransparence()

double drawinglayer::primitive2d::OverlayRectanglePrimitive::getTransparence ( ) const
inline

Definition at line 185 of file overlaytools.hxx.

References mfTransparence.

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

◆ operator==()

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

Member Data Documentation

◆ maColor

basegfx::BColor drawinglayer::primitive2d::OverlayRectanglePrimitive::maColor
private

Definition at line 161 of file overlaytools.hxx.

Referenced by getColor().

◆ maObjectRange

basegfx::B2DRange drawinglayer::primitive2d::OverlayRectanglePrimitive::maObjectRange
private

Definition at line 158 of file overlaytools.hxx.

Referenced by getObjectRange().

◆ mfDiscreteGrow

double drawinglayer::primitive2d::OverlayRectanglePrimitive::mfDiscreteGrow
private

Definition at line 165 of file overlaytools.hxx.

Referenced by getDiscreteGrow().

◆ mfDiscreteShrink

double drawinglayer::primitive2d::OverlayRectanglePrimitive::mfDiscreteShrink
private

Definition at line 166 of file overlaytools.hxx.

Referenced by getDiscreteShrink().

◆ mfRotation

double drawinglayer::primitive2d::OverlayRectanglePrimitive::mfRotation
private

Definition at line 169 of file overlaytools.hxx.

Referenced by getRotation().

◆ mfTransparence

double drawinglayer::primitive2d::OverlayRectanglePrimitive::mfTransparence
private

Definition at line 162 of file overlaytools.hxx.

Referenced by getTransparence().


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