#include <Cairo.h>
|
| Matrix () |
|
| Matrix (double xx, double yx, double xy, double yy, double x0, double y0) |
|
| Matrix (const mat3 &m) |
|
cairo_matrix_t & | getCairoMatrix () |
|
const cairo_matrix_t & | getCairoMatrix () const |
|
void | init (double xx, double yx, double xy, double yy, double x0, double y0) |
|
void | initIdentity () |
|
void | initTranslate (double tx, double ty) |
|
void | initScale (double sx, double sy) |
|
void | initRotate (double radians) |
|
void | translate (double tx, double ty) |
|
void | scale (double sx, double sy) |
|
void | rotate (double radians) |
|
int32_t | invert () |
|
vec2 | transformPoint (const vec2 &v) const |
|
vec2 | transformDistance (const vec2 &v) const |
|
const Matrix & | operator*= (const Matrix &rhs) |
|
cinder::cairo::Matrix::Matrix |
( |
| ) |
|
cinder::cairo::Matrix::Matrix |
( |
double |
xx, |
|
|
double |
yx, |
|
|
double |
xy, |
|
|
double |
yy, |
|
|
double |
x0, |
|
|
double |
y0 |
|
) |
| |
cinder::cairo::Matrix::Matrix |
( |
const mat3 & |
m | ) |
|
void cinder::cairo::Matrix::init |
( |
double |
xx, |
|
|
double |
yx, |
|
|
double |
xy, |
|
|
double |
yy, |
|
|
double |
x0, |
|
|
double |
y0 |
|
) |
| |
void cinder::cairo::Matrix::initIdentity |
( |
| ) |
|
void cinder::cairo::Matrix::initTranslate |
( |
double |
tx, |
|
|
double |
ty |
|
) |
| |
void cinder::cairo::Matrix::initScale |
( |
double |
sx, |
|
|
double |
sy |
|
) |
| |
void cinder::cairo::Matrix::initRotate |
( |
double |
radians | ) |
|
void cinder::cairo::Matrix::translate |
( |
double |
tx, |
|
|
double |
ty |
|
) |
| |
void cinder::cairo::Matrix::scale |
( |
double |
sx, |
|
|
double |
sy |
|
) |
| |
void cinder::cairo::Matrix::rotate |
( |
double |
radians | ) |
|
int32_t cinder::cairo::Matrix::invert |
( |
| ) |
|
vec2 cinder::cairo::Matrix::transformPoint |
( |
const vec2 & |
v | ) |
const |
Transforms the point v by the matrix.
vec2 cinder::cairo::Matrix::transformDistance |
( |
const vec2 & |
v | ) |
const |
Transforms the distance vector v by the matrix. This is similar to cairo_matrix_transform_point() except that the translation components of the transformation are ignored.
const Matrix& cinder::cairo::Matrix::operator*= |
( |
const Matrix & |
rhs | ) |
|
std::ostream& operator<< |
( |
std::ostream & |
lhs, |
|
|
const Matrix & |
rhs |
|
) |
| |
|
friend |
double cinder::cairo::Matrix::xx |
double cinder::cairo::Matrix::yx |
double cinder::cairo::Matrix::xy |
double cinder::cairo::Matrix::yy |
double cinder::cairo::Matrix::x0 |
double cinder::cairo::Matrix::y0 |
The documentation for this class was generated from the following file:
- blocks/Cairo/include/cinder/cairo/Cairo.h