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< LinearGradient > | create (double x0, double y0, double x1, double y1) | |||
Protected Member Functions | ||||
LinearGradient (double x0, double y0, double x1, double y1) |
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.
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] |
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 |
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 |