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