Cairo::LinearGradient Class Reference

Inheritance diagram for Cairo::LinearGradient:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void get_linear_points (double &x0, double &y0, double &x1, double &y1) const
 LinearGradient (cairo_pattern_t *cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance.
virtual ~LinearGradient ()

Static Public Member Functions

static RefPtr< LinearGradientcreate (double x0, double y0, double x1, double y1)

Protected Member Functions

 LinearGradient (double x0, double y0, double x1, double y1)


Constructor & Destructor Documentation

Cairo::LinearGradient::LinearGradient ( double  x0,
double  y0,
double  x1,
double  y1 
) [protected]

Cairo::LinearGradient::LinearGradient ( cairo_pattern_t *  cobject,
bool  has_reference = false 
) [explicit]

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters:
cobject The C instance.
has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference.

virtual Cairo::LinearGradient::~LinearGradient (  )  [virtual]


Member Function Documentation

static RefPtr<LinearGradient> Cairo::LinearGradient::create ( double  x0,
double  y0,
double  x1,
double  y1 
) [static]

void Cairo::LinearGradient::get_linear_points ( double &  x0,
double &  y0,
double &  x1,
double &  y1 
) const

Parameters:
x0 return value for the x coordinate of the first point
y0 return value for the y coordinate of the first point
x1 return value for the x coordinate of the second point
y1 return value for the y coordinate of the second point
Gets the gradient endpoints for a linear gradient.

Since:
1.4


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

Generated on Thu Sep 4 21:57:16 2008 for cairomm by  doxygen 1.5.5