Пример #1
0
func (self *Surface) SetMatrix(matrix *Matrix) {
	C.cairo_set_matrix(self.context, matrix.matrix)
}
Пример #2
0
func (self *Surface) SetMatrix(matrix Matrix) {
	C.cairo_set_matrix(self.context, matrix.cairo_matrix_t())
}
Пример #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
}