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::optional< drawinglayer::attribute::SdrFillAttributemaFillAttribute
 
std::optional< drawinglayer::attribute::FillGradientAttributemaFillGradientAttribute
 
drawinglayer::primitive2d::Primitive2DContainer maPrimitives
 

Detailed Description

Definition at line 35 of file sdrallfillattributeshelper.hxx.

Constructor & Destructor Documentation

◆ SdrAllFillAttributesHelper() [1/2]

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

◆ SdrAllFillAttributesHelper() [2/2]

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

Definition at line 63 of file sdrallfillattributeshelper.cxx.

References rSet.

◆ ~SdrAllFillAttributesHelper()

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

Definition at line 71 of file sdrallfillattributeshelper.cxx.

Member Function Documentation

◆ createPrimitive2DSequence()

void drawinglayer::attribute::SdrAllFillAttributesHelper::createPrimitive2DSequence ( const basegfx::B2DRange rPaintRange,
const basegfx::B2DRange rDefineRange 
)
private

◆ getAverageColor()

basegfx::BColor drawinglayer::attribute::SdrAllFillAttributesHelper::getAverageColor ( const basegfx::BColor rFallback) const

◆ getFillAttribute()

const drawinglayer::attribute::SdrFillAttribute & drawinglayer::attribute::SdrAllFillAttributesHelper::getFillAttribute ( ) const

Definition at line 103 of file sdrallfillattributeshelper.cxx.

References maFillAttribute.

Referenced by isTransparent(), and needCompleteRepaint().

◆ getFillGradientAttribute()

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

Definition at line 113 of file sdrallfillattributeshelper.cxx.

References maFillGradientAttribute.

Referenced by getAverageColor().

◆ getPrimitive2DSequence()

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

◆ hasSdrFillAttribute()

bool drawinglayer::attribute::SdrAllFillAttributesHelper::hasSdrFillAttribute ( ) const
inline

Definition at line 54 of file sdrallfillattributeshelper.hxx.

Referenced by isTransparent(), and needCompleteRepaint().

◆ isTransparent()

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

◆ isUsed()

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

Definition at line 75 of file sdrallfillattributeshelper.cxx.

References maFillAttribute.

Referenced by createPrimitive2DSequence(), and needCompleteRepaint().

◆ needCompleteRepaint()

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

Member Data Documentation

◆ maFillAttribute

std::optional<drawinglayer::attribute::SdrFillAttribute> drawinglayer::attribute::SdrAllFillAttributesHelper::maFillAttribute
private

◆ maFillGradientAttribute

std::optional<drawinglayer::attribute::FillGradientAttribute> drawinglayer::attribute::SdrAllFillAttributesHelper::maFillGradientAttribute
private

◆ maLastDefineRange

basegfx::B2DRange drawinglayer::attribute::SdrAllFillAttributesHelper::maLastDefineRange
private

◆ maLastPaintRange

basegfx::B2DRange drawinglayer::attribute::SdrAllFillAttributesHelper::maLastPaintRange
private

◆ maPrimitives

drawinglayer::primitive2d::Primitive2DContainer drawinglayer::attribute::SdrAllFillAttributesHelper::maPrimitives
private

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