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