예제 #1
0
파일: cairo.go 프로젝트: zvin/gocairo
func (self *Surface) Transform(matrix *Matrix) {
	C.cairo_transform(self.context, matrix.matrix)
}
예제 #2
0
파일: surface.go 프로젝트: ungerik/go-cairo
func (self *Surface) Transform(matrix Matrix) {
	C.cairo_transform(self.context, matrix.cairo_matrix_t())
}
예제 #3
0
파일: cairo.go 프로젝트: jimmyfrasche/cairo
//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
}