VSTGUI
4.10
Graphical User Interface Framework not only for VST plugins
|
Gradient Object [new in 4.0]. More...
Public Types | |
using | ColorStopMap = std::multimap< double, CColor > |
Public Member Functions | |
Member Access | |
void | addColorStop (double start, const CColor &color) |
virtual void | addColorStop (const std::pair< double, CColor > &colorStop) |
virtual void | addColorStop (std::pair< double, CColor > &&colorStop) |
const ColorStopMap & | getColorStops () const |
![]() | |
ReferenceCounted ()=default | |
virtual | ~ReferenceCounted () noexcept=default |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
void | forget () override |
decrease refcount and delete object if refcount == 0 More... | |
void | remember () override |
increase refcount More... | |
virtual int32_t | getNbReference () const |
get refcount More... | |
virtual void | beforeDelete () |
Static Public Member Functions | |
static CGradient * | create (const ColorStopMap &colorStopMap) |
static CGradient * | create (double color1Start, double color2Start, const CColor &color1, const CColor &color2) |
Protected Member Functions | |
CGradient (double color1Start, double color2Start, const CColor &color1, const CColor &color2) | |
CGradient (const ColorStopMap &colorStopMap) | |
Protected Attributes | |
ColorStopMap | colorStops |
Gradient Object [new in 4.0].
using ColorStopMap = std::multimap<double, CColor> |
|
inlineprotected |
|
inlineexplicitprotected |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
static |
|
inlinestatic |
|
inline |
|
protected |