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