#include <Cairo.h>
Inherited by cinder::cairo::Gradient, cinder::cairo::PatternSolid, and cinder::cairo::PatternSurface.
Public Member Functions | |
Pattern (cairo_pattern_t *aPattern) | |
Creates a Pattern from a cairo_pattern_t pointer. Does not automatically increment the cairo_pattern_t reference count. | |
Pattern (const Pattern &other) | |
~Pattern () | |
Pattern & | operator= (const Pattern &other) |
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 |
Protected Member Functions | |
Pattern () | |
Protected Attributes | |
cairo_pattern_t * | mCairoPattern |
cinder::cairo::Pattern::Pattern | ( | cairo_pattern_t * | aPattern | ) |
Creates a Pattern from a cairo_pattern_t pointer. Does not automatically increment the cairo_pattern_t reference count.
cinder::cairo::Pattern::Pattern | ( | const Pattern & | other | ) |
cinder::cairo::Pattern::Pattern | ( | ) | [protected] |
void cinder::cairo::Pattern::setExtend | ( | int | extend | ) |
void cinder::cairo::Pattern::setExtendPad | ( | ) |
int cinder::cairo::Pattern::getExtend | ( | ) | const |
void cinder::cairo::Pattern::setFilter | ( | int | filter | ) |
int cinder::cairo::Pattern::getFilter | ( | ) | const |
void cinder::cairo::Pattern::setMatrix | ( | const Matrix & | matrix | ) |
Matrix cinder::cairo::Pattern::getMatrix | ( | ) | const |
cairo_pattern_t* cinder::cairo::Pattern::mCairoPattern [protected] |