LibreOffice Module basegfx (master) 1
|
Class to hold a stack of BColorModifierSharedPtrs and to get the modified color with applying all existing entry changes as defined in the stack. More...
#include <bcolormodifier.hxx>
Public Member Functions | |
sal_uInt32 | count () const |
const BColorModifierSharedPtr & | getBColorModifier (sal_uInt32 nIndex) const |
::basegfx::BColor | getModifiedColor (const ::basegfx::BColor &rSource) const |
void | push (const BColorModifierSharedPtr &rNew) |
void | pop () |
Private Attributes | |
::std::vector< BColorModifierSharedPtr > | maBColorModifiers |
Class to hold a stack of BColorModifierSharedPtrs and to get the modified color with applying all existing entry changes as defined in the stack.
Instances of BColorModifier can be pushed and popped to change the stack.
All references to BColorModifier members use shared pointers, thus instances of BColorModifierStack can be copied by the default mechanisms if needed.
Definition at line 415 of file bcolormodifier.hxx.
|
inline |
Definition at line 420 of file bcolormodifier.hxx.
|
inline |
Definition at line 425 of file bcolormodifier.hxx.
basegfx::BColor basegfx::BColorModifierStack::getModifiedColor | ( | const ::basegfx::BColor & | rSource | ) | const |
Definition at line 520 of file bcolormodifier.cxx.
References a, and maBColorModifiers.
|
inline |
Definition at line 440 of file bcolormodifier.hxx.
|
inline |
Definition at line 435 of file bcolormodifier.hxx.
|
private |
Definition at line 417 of file bcolormodifier.hxx.
Referenced by getModifiedColor().