func (self *Surface) Transform(matrix *Matrix) { C.cairo_transform(self.context, matrix.matrix) }
func (self *Surface) Transform(matrix Matrix) { C.cairo_transform(self.context, matrix.cairo_matrix_t()) }
//Transform applies m to the current transformation matrix as an additional //transformation. //The new transformation of user space takes place after any existing //transformation. // //Originally cairo_transform. func (c *Context) Transform(m Matrix) *Context { C.cairo_transform(c.c, &m.m) return c }