Example #1
0
func (self *Matrix) InitIdendity() {
	C.cairo_matrix_init_identity(self.cairo_matrix_t())
}
Example #2
0
//NewIdentityMatrix creates the identity I.
//
//Originally cairo_init_identity.
func NewIdentityMatrix() (I Matrix) {
	var m C.cairo_matrix_t
	C.cairo_matrix_init_identity(&m)
	return Matrix{m}
}