Example #1
0
void gfxContext::SetMatrix(const gfxMatrix& matrix)
{
    cairo_matrix_t mat = matrix.ToCairoMatrix();
    cairo_set_matrix(mCairo, &mat);
}
Example #2
0
void gfxContext::Multiply(const gfxMatrix& matrix)
{
    cairo_matrix_t mat = matrix.ToCairoMatrix();
    cairo_transform(mCairo, &mat);
}