LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
drawinglayer::attribute::SdrAllFillAttributesHelper Class Reference

#include <sdrallfillattributeshelper.hxx>

Collaboration diagram for drawinglayer::attribute::SdrAllFillAttributesHelper:
[legend]

Public Member Functions

 SdrAllFillAttributesHelper (const Color &rColor)
 
 SdrAllFillAttributesHelper (const SfxItemSet &rSet)
 
 ~SdrAllFillAttributesHelper ()
 
bool isUsed () const
 
bool hasSdrFillAttribute () const
 
bool isTransparent () const
 
const drawinglayer::attribute::SdrFillAttributegetFillAttribute () const
 
const drawinglayer::attribute::FillGradientAttributegetFillGradientAttribute () const
 
const drawinglayer::primitive2d::Primitive2DContainergetPrimitive2DSequence (const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange) const
 
basegfx::BColor getAverageColor (const basegfx::BColor &rFallback) const
 
bool needCompleteRepaint () const
 

Private Member Functions

void createPrimitive2DSequence (const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange)
 

Private Attributes

basegfx::B2DRange maLastPaintRange
 
basegfx::B2DRange maLastDefineRange
 
std::shared_ptr< drawinglayer::attribute::SdrFillAttributemaFillAttribute
 
std::shared_ptr< drawinglayer::attribute::FillGradientAttributemaFillGradientAttribute
 
drawinglayer::primitive2d::Primitive2DContainer maPrimitives
 

Detailed Description

Definition at line 37 of file sdrallfillattributeshelper.hxx.

Constructor & Destructor Documentation

drawinglayer::attribute::SdrAllFillAttributesHelper::SdrAllFillAttributesHelper ( const Color rColor)
drawinglayer::attribute::SdrAllFillAttributesHelper::SdrAllFillAttributesHelper ( const SfxItemSet rSet)

Definition at line 73 of file sdrallfillattributeshelper.cxx.

drawinglayer::attribute::SdrAllFillAttributesHelper::~SdrAllFillAttributesHelper ( )

Definition at line 86 of file sdrallfillattributeshelper.cxx.

Member Function Documentation

void drawinglayer::attribute::SdrAllFillAttributesHelper::createPrimitive2DSequence ( const basegfx::B2DRange rPaintRange,
const basegfx::B2DRange rDefineRange 
)
private
basegfx::BColor drawinglayer::attribute::SdrAllFillAttributesHelper::getAverageColor ( const basegfx::BColor rFallback) const
const drawinglayer::attribute::SdrFillAttribute & drawinglayer::attribute::SdrAllFillAttributesHelper::getFillAttribute ( ) const

Definition at line 118 of file sdrallfillattributeshelper.cxx.

References maFillAttribute.

Referenced by isTransparent(), and needCompleteRepaint().

const drawinglayer::attribute::FillGradientAttribute & drawinglayer::attribute::SdrAllFillAttributesHelper::getFillGradientAttribute ( ) const

Definition at line 128 of file sdrallfillattributeshelper.cxx.

References maFillGradientAttribute.

Referenced by getAverageColor().

const drawinglayer::primitive2d::Primitive2DContainer & drawinglayer::attribute::SdrAllFillAttributesHelper::getPrimitive2DSequence ( const basegfx::B2DRange rPaintRange,
const basegfx::B2DRange rDefineRange 
) const
bool drawinglayer::attribute::SdrAllFillAttributesHelper::hasSdrFillAttribute ( ) const
inline

Definition at line 56 of file sdrallfillattributeshelper.hxx.

Referenced by isTransparent(), and needCompleteRepaint().

bool drawinglayer::attribute::SdrAllFillAttributesHelper::isTransparent ( ) const
bool drawinglayer::attribute::SdrAllFillAttributesHelper::isUsed ( ) const

Definition at line 90 of file sdrallfillattributeshelper.cxx.

References maFillAttribute.

Referenced by createPrimitive2DSequence(), and needCompleteRepaint().

bool drawinglayer::attribute::SdrAllFillAttributesHelper::needCompleteRepaint ( ) const

Member Data Documentation

std::shared_ptr< drawinglayer::attribute::SdrFillAttribute > drawinglayer::attribute::SdrAllFillAttributesHelper::maFillAttribute
private
std::shared_ptr< drawinglayer::attribute::FillGradientAttribute > drawinglayer::attribute::SdrAllFillAttributesHelper::maFillGradientAttribute
private
basegfx::B2DRange drawinglayer::attribute::SdrAllFillAttributesHelper::maLastDefineRange
private
basegfx::B2DRange drawinglayer::attribute::SdrAllFillAttributesHelper::maLastPaintRange
private
drawinglayer::primitive2d::Primitive2DContainer drawinglayer::attribute::SdrAllFillAttributesHelper::maPrimitives
private

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