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