| VSTGUI 4.10
    Graphical User Interface Framework not only for VST plugins | 
Gradient Object [new in 4.0]. More...
#include <cgradient.h>
 Inheritance diagram for CGradient:
 Inheritance diagram for CGradient:| Public Member Functions | |
| CGradient (PlatformGradientPtr &&platformGradient) | |
| ~CGradient () noexcept override | |
|  Public Member Functions inherited from ReferenceCounted< T > | |
| 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 | forget ()=0 | 
| decrease refcount and delete object if refcount == 0  More... | |
| virtual void | remember ()=0 | 
| increase refcount  More... | |
| Static Public Member Functions | |
| static CGradient * | create (const GradientColorStopMap &colorStopMap) | 
| static CGradient * | create (double color1Start, double color2Start, const CColor &color1, const CColor &color2) | 
| Member Access | |
| PlatformGradientPtr | platformGradient | 
| void | addColorStop (double start, const CColor &color) | 
| void | addColorStop (const GradientColorStop &colorStop) | 
| const GradientColorStopMap & | getColorStops () const | 
| const PlatformGradientPtr & | getPlatformGradient () const | 
Gradient Object [new in 4.0].
| CGradient | ( | PlatformGradientPtr && | platformGradient | ) | 
| 
 | overridedefaultnoexcept | 
| void addColorStop | ( | const GradientColorStop & | colorStop | ) | 
| void addColorStop | ( | double | start, | 
| const CColor & | color | ||
| ) | 
| 
 | static | 
| 
 | static | 
| const GradientColorStopMap & getColorStops | ( | ) | const | 
| const PlatformGradientPtr & getPlatformGradient | ( | ) | const | 
| 
 | protected |