func (self *Surface) SetMatrix(matrix *Matrix) { C.cairo_set_matrix(self.context, matrix.matrix) }
func (self *Surface) SetMatrix(matrix Matrix) { C.cairo_set_matrix(self.context, matrix.cairo_matrix_t()) }
//SetMatrix sets the current transformation matrix to m. // //Originally cairo_set_matrix. func (c *Context) SetMatrix(m Matrix) *Context { C.cairo_set_matrix(c.c, &m.m) return c }