LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
sw::sidebarwindows::AnchorPrimitive Class Reference
Inheritance diagram for sw::sidebarwindows::AnchorPrimitive:
[legend]
Collaboration diagram for sw::sidebarwindows::AnchorPrimitive:
[legend]

Public Member Functions

 AnchorPrimitive (const basegfx::B2DPolygon &rTriangle, const basegfx::B2DPolygon &rLine, const basegfx::B2DPolygon &rLineTop, AnchorState aAnchorState, const basegfx::BColor &rColor, double fDiscreteLineWidth, bool bLineSolid)
 
const basegfx::B2DPolygongetLine () const
 
const basegfx::BColorgetColor () const
 
bool getLineSolid () const
 
virtual bool operator== (const drawinglayer::primitive2d::BasePrimitive2D &rPrimitive) 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 ()
 
- Public Member Functions inherited from drawinglayer::primitive2d::BasePrimitive2D
 BasePrimitive2D ()
 
virtual ~BasePrimitive2D () override
 
bool operator!= (const BasePrimitive2D &rPrimitive) const
 
virtual basegfx::B2DRange getB2DRange (const geometry::ViewInformation2D &rViewInformation) const
 
virtual sal_uInt32 getPrimitive2DID () const =0
 
virtual css::uno::Sequence< ::css::uno::Reference< ::css::graphic::XPrimitive2D > > SAL_CALL getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override
 
virtual css::geometry::RealRectangle2D SAL_CALL getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override
 
virtual sal_Int64 SAL_CALL estimateUsage () override
 

Protected Member Functions

virtual void create2DDecomposition (drawinglayer::primitive2d::Primitive2DContainer &rContainer, const drawinglayer::geometry::ViewInformation2D &rViewInformation) const override
 
- Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D
const Primitive2DContainergetBuffered2DDecomposition () const
 
void setBuffered2DDecomposition (const Primitive2DContainer &rNew)
 

Private Attributes

basegfx::B2DPolygon const maTriangle
 
basegfx::B2DPolygon const maLine
 
basegfx::B2DPolygon const maLineTop
 
const AnchorState maAnchorState
 
basegfx::BColor const maColor
 
double const mfDiscreteLineWidth
 
bool const mbLineSolid: 1
 

Detailed Description

Definition at line 38 of file AnchorOverlayObject.cxx.

Constructor & Destructor Documentation

sw::sidebarwindows::AnchorPrimitive::AnchorPrimitive ( const basegfx::B2DPolygon rTriangle,
const basegfx::B2DPolygon rLine,
const basegfx::B2DPolygon rLineTop,
AnchorState  aAnchorState,
const basegfx::BColor rColor,
double  fDiscreteLineWidth,
bool  bLineSolid 
)
inline

Definition at line 58 of file AnchorOverlayObject.cxx.

Member Function Documentation

void sw::sidebarwindows::AnchorPrimitive::create2DDecomposition ( drawinglayer::primitive2d::Primitive2DContainer rContainer,
const drawinglayer::geometry::ViewInformation2D rViewInformation 
) const
overrideprotectedvirtual
const basegfx::BColor& sw::sidebarwindows::AnchorPrimitive::getColor ( ) const
inline

Definition at line 77 of file AnchorOverlayObject.cxx.

References maColor.

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

const basegfx::B2DPolygon& sw::sidebarwindows::AnchorPrimitive::getLine ( ) const
inline

Definition at line 76 of file AnchorOverlayObject.cxx.

References maLine.

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

bool sw::sidebarwindows::AnchorPrimitive::getLineSolid ( ) const
inline

Definition at line 78 of file AnchorOverlayObject.cxx.

References mbLineSolid.

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

bool sw::sidebarwindows::AnchorPrimitive::operator== ( const drawinglayer::primitive2d::BasePrimitive2D rPrimitive) const
overridevirtual

Member Data Documentation

const AnchorState sw::sidebarwindows::AnchorPrimitive::maAnchorState
private

Definition at line 44 of file AnchorOverlayObject.cxx.

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

basegfx::BColor const sw::sidebarwindows::AnchorPrimitive::maColor
private

Definition at line 45 of file AnchorOverlayObject.cxx.

Referenced by getColor().

basegfx::B2DPolygon const sw::sidebarwindows::AnchorPrimitive::maLine
private

Definition at line 42 of file AnchorOverlayObject.cxx.

Referenced by getLine().

basegfx::B2DPolygon const sw::sidebarwindows::AnchorPrimitive::maLineTop
private

Definition at line 43 of file AnchorOverlayObject.cxx.

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

basegfx::B2DPolygon const sw::sidebarwindows::AnchorPrimitive::maTriangle
private

Definition at line 41 of file AnchorOverlayObject.cxx.

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

bool const sw::sidebarwindows::AnchorPrimitive::mbLineSolid
private

Definition at line 50 of file AnchorOverlayObject.cxx.

Referenced by getLineSolid().

double const sw::sidebarwindows::AnchorPrimitive::mfDiscreteLineWidth
private

Definition at line 48 of file AnchorOverlayObject.cxx.

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


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