LibreOffice Module basegfx (master) 1
Public Member Functions | Private Attributes | List of all members
basegfx::BColorModifier_replace Class Referencefinal

replace color More...

#include <bcolormodifier.hxx>

Inheritance diagram for basegfx::BColorModifier_replace:
[legend]
Collaboration diagram for basegfx::BColorModifier_replace:
[legend]

Public Member Functions

 BColorModifier_replace (const ::basegfx::BColor &rBColor)
 
virtual ~BColorModifier_replace () override
 
const ::basegfx::BColorgetBColor () const
 
virtual SAL_DLLPRIVATE bool operator== (const BColorModifier &rCompare) const override
 
virtual SAL_DLLPRIVATE ::basegfx::BColor getModifiedColor (const ::basegfx::BColor &aSourceColor) const override
 
virtual SAL_DLLPRIVATE OUString getModifierName () const override
 
- Public Member Functions inherited from basegfx::BColorModifier
virtual ~BColorModifier ()
 
virtual bool operator== (const BColorModifier &rCompare) const =0
 
bool operator!= (const BColorModifier &rCompare) const
 
virtual ::basegfx::BColor getModifiedColor (const ::basegfx::BColor &aSourceColor) const =0
 
virtual OUString getModifierName () const =0
 

Private Attributes

::basegfx::BColor maBColor
 

Additional Inherited Members

- Protected Member Functions inherited from basegfx::BColorModifier
 BColorModifier ()
 

Detailed Description

replace color

does not use the source color at all, but always returns the given color, replacing everything. Useful e.g. for unified shadow creation

Definition at line 160 of file bcolormodifier.hxx.

Constructor & Destructor Documentation

◆ BColorModifier_replace()

basegfx::BColorModifier_replace::BColorModifier_replace ( const ::basegfx::BColor rBColor)
inline

Definition at line 166 of file bcolormodifier.hxx.

◆ ~BColorModifier_replace()

basegfx::BColorModifier_replace::~BColorModifier_replace ( )
overridevirtual

Definition at line 93 of file bcolormodifier.cxx.

Member Function Documentation

◆ getBColor()

const ::basegfx::BColor & basegfx::BColorModifier_replace::getBColor ( ) const
inline

Definition at line 174 of file bcolormodifier.hxx.

Referenced by operator==().

◆ getModifiedColor()

basegfx::BColor basegfx::BColorModifier_replace::getModifiedColor ( const ::basegfx::BColor aSourceColor) const
overridevirtual

Implements basegfx::BColorModifier.

Definition at line 109 of file bcolormodifier.cxx.

References maBColor.

◆ getModifierName()

OUString basegfx::BColorModifier_replace::getModifierName ( ) const
overridevirtual

Implements basegfx::BColorModifier.

Definition at line 114 of file bcolormodifier.cxx.

◆ operator==()

bool basegfx::BColorModifier_replace::operator== ( const BColorModifier rCompare) const
overridevirtual

Implements basegfx::BColorModifier.

Definition at line 97 of file bcolormodifier.cxx.

References getBColor().

Member Data Documentation

◆ maBColor

::basegfx::BColor basegfx::BColorModifier_replace::maBColor
private

Definition at line 163 of file bcolormodifier.hxx.

Referenced by getModifiedColor().


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