LibreOffice Module basegfx (master) 1
|
replace color More...
#include <bcolormodifier.hxx>
Public Member Functions | |
BColorModifier_replace (const ::basegfx::BColor &rBColor) | |
virtual | ~BColorModifier_replace () override |
const ::basegfx::BColor & | getBColor () 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 () | |
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.
|
inline |
Definition at line 166 of file bcolormodifier.hxx.
|
overridevirtual |
Definition at line 93 of file bcolormodifier.cxx.
|
inline |
Definition at line 174 of file bcolormodifier.hxx.
Referenced by operator==().
|
overridevirtual |
Implements basegfx::BColorModifier.
Definition at line 109 of file bcolormodifier.cxx.
References maBColor.
|
overridevirtual |
Implements basegfx::BColorModifier.
Definition at line 114 of file bcolormodifier.cxx.
|
overridevirtual |
Implements basegfx::BColorModifier.
Definition at line 97 of file bcolormodifier.cxx.
References getBColor().
|
private |
Definition at line 163 of file bcolormodifier.hxx.
Referenced by getModifiedColor().