#include <Cairo.h>
Inherits cinder::cairo::Gradient.
|
| GradientRadial (double x0, double y0, double radius0, double x1, double y1, double radius1) |
|
| GradientRadial (const vec2 ¢er0, float radius0, const vec2 ¢er1, float radius1) |
|
void | addColorStopRgb (double offset, double red, double green, double blue) |
|
void | addColorStopRgba (double offset, double red, double green, double blue, double alpha) |
|
void | addColorStop (double offset, const Color &color) |
|
void | addColorStop (double offset, const ColorA &color) |
|
int | getColorStopCount () |
|
void | getColorStopRgba (int index, double *offset, double *red, double *green, double *blue, double *alpha) |
|
cairo_pattern_t * | getCairoPattern () |
|
void | setExtend (int extend) |
|
void | setExtendNone () |
|
void | setExtendRepeat () |
|
void | setExtendReflect () |
|
void | setExtendPad () |
|
int | getExtend () const |
|
void | setFilter (int filter) |
|
int | getFilter () const |
|
void | setMatrix (const Matrix &matrix) |
|
Matrix | getMatrix () const |
|
cinder::cairo::GradientRadial::GradientRadial |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
radius0, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
double |
radius1 |
|
) |
| |
cinder::cairo::GradientRadial::GradientRadial |
( |
const vec2 & |
center0, |
|
|
float |
radius0, |
|
|
const vec2 & |
center1, |
|
|
float |
radius1 |
|
) |
| |
void cinder::cairo::Gradient::addColorStopRgb |
( |
double |
offset, |
|
|
double |
red, |
|
|
double |
green, |
|
|
double |
blue |
|
) |
| |
|
inherited |
void cinder::cairo::Gradient::addColorStopRgba |
( |
double |
offset, |
|
|
double |
red, |
|
|
double |
green, |
|
|
double |
blue, |
|
|
double |
alpha |
|
) |
| |
|
inherited |
void cinder::cairo::Gradient::addColorStop |
( |
double |
offset, |
|
|
const Color & |
color |
|
) |
| |
|
inherited |
void cinder::cairo::Gradient::addColorStop |
( |
double |
offset, |
|
|
const ColorA & |
color |
|
) |
| |
|
inherited |
int cinder::cairo::Gradient::getColorStopCount |
( |
| ) |
|
|
inherited |
Returns the number of color stops specified in the given gradient pattern.
void cinder::cairo::Gradient::getColorStopRgba |
( |
int |
index, |
|
|
double * |
offset, |
|
|
double * |
red, |
|
|
double * |
green, |
|
|
double * |
blue, |
|
|
double * |
alpha |
|
) |
| |
|
inherited |
void cinder::cairo::Pattern::setExtend |
( |
int |
extend | ) |
|
|
inherited |
void cinder::cairo::Pattern::setExtendNone |
( |
| ) |
|
|
inherited |
void cinder::cairo::Pattern::setExtendRepeat |
( |
| ) |
|
|
inherited |
void cinder::cairo::Pattern::setExtendReflect |
( |
| ) |
|
|
inherited |
void cinder::cairo::Pattern::setExtendPad |
( |
| ) |
|
|
inherited |
int cinder::cairo::Pattern::getExtend |
( |
| ) |
const |
|
inherited |
void cinder::cairo::Pattern::setFilter |
( |
int |
filter | ) |
|
|
inherited |
int cinder::cairo::Pattern::getFilter |
( |
| ) |
const |
|
inherited |
void cinder::cairo::Pattern::setMatrix |
( |
const Matrix & |
matrix | ) |
|
|
inherited |
Matrix cinder::cairo::Pattern::getMatrix |
( |
| ) |
const |
|
inherited |
The documentation for this class was generated from the following file:
- blocks/Cairo/include/cinder/cairo/Cairo.h