Example #1
0
func (self *Surface) Transform(matrix *Matrix) {
	C.cairo_transform(self.context, matrix.matrix)
}
Example #2
0
func (self *Surface) Transform(matrix Matrix) {
	C.cairo_transform(self.context, matrix.cairo_matrix_t())
}
Example #3
0
//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
}