ASPiK SDK
VSTGUI::Cairo::Gradient Class Reference
Inheritance diagram for VSTGUI::Cairo::Gradient:
VSTGUI::CGradient VSTGUI::ReferenceCounted< T > VSTGUI::IReference

Public Member Functions

 Gradient (const ColorStopMap &colorStopMap)
 
void addColorStop (const std::pair< double, CColor > &colorStop) override
 
const PatternHandlegetLinearGradient (CPoint start, CPoint end) const
 
const PatternHandlegetRadialGradient () const
 
- Public Member Functions inherited from VSTGUI::CGradient
void addColorStop (double start, const CColor &color)
 
virtual void addColorStop (std::pair< double, CColor > &&colorStop)
 
const ColorStopMap & getColorStops () const
 
- Public Member Functions inherited from VSTGUI::ReferenceCounted< T >
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0
 
void remember () override
 increase refcount
 
virtual int32_t getNbReference () const
 get refcount
 
virtual void beforeDelete ()
 

Additional Inherited Members

- Public Types inherited from VSTGUI::CGradient
using ColorStopMap = std::multimap< double, CColor >
 
- Static Public Member Functions inherited from VSTGUI::CGradient
static CGradientcreate (const ColorStopMap &colorStopMap)
 
static CGradientcreate (double color1Start, double color2Start, const CColor &color1, const CColor &color2)
 
- Protected Member Functions inherited from VSTGUI::CGradient
 CGradient (double color1Start, double color2Start, const CColor &color1, const CColor &color2)
 
 CGradient (const ColorStopMap &colorStopMap)
 
- Protected Attributes inherited from VSTGUI::CGradient
ColorStopMap colorStops
 

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