Anti-Grain Geometry Tutorial
agg::rgba Struct Reference

Public Types

typedef double value_type
 

Public Member Functions

 rgba (double r_, double g_, double b_, double a_=1.0)
 
 rgba (const rgba &c, double a_)
 
rgbaclear ()
 
rgbatransparent ()
 
rgbaopacity (double a_)
 
double opacity () const
 
rgbapremultiply ()
 
rgbapremultiply (double a_)
 
rgbademultiply ()
 
rgba gradient (rgba c, double k) const
 
rgbaoperator+= (const rgba &c)
 
rgbaoperator*= (double k)
 
 rgba (double wavelen, double gamma=1.0)
 

Static Public Member Functions

static rgba no_color ()
 
static rgba from_wavelength (double wl, double gamma=1.0)
 

Public Attributes

double r
 
double g
 
double b
 
double a
 

Detailed Description

Definition at line 47 of file agg_color_rgba.h.


The documentation for this struct was generated from the following file: