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