Example #1
0
func (self *Matrix) Rotate(radians float64) {
	C.cairo_matrix_rotate(self.cairo_matrix_t(), C.double(radians))
}
Example #2
0
//Rotate rotates m by radians and returns itself.
//
//Originally cairo_matrix_rotate.
func (m Matrix) Rotate(radians float64) Matrix {
	C.cairo_matrix_rotate(&m.m, C.double(radians))
	return m
}