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_)
 
rgba & clear ()
 
rgba & transparent ()
 
rgba & opacity (double a_)
 
double opacity () const
 
rgba & premultiply ()
 
rgba & premultiply (double a_)
 
rgba & demultiply ()
 
rgba gradient (rgba c, double k) const
 
rgba & operator+= (const rgba &c)
 
rgba & operator*= (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: