A GraphicsMatrix is a native representation of an affine matrix. The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via a CreateMatrix call on the graphics context or the renderer instance.
Concatenates the matrix passed with the current matrix.
concat(%(arg-type)GraphicsMatrix% t)Returns the component values of the matrix via the argument pointers.
Returns the native representation of the matrix. For CoreGraphics this is a CFAffineMatrix pointer. For GDIPlus a Matrix Pointer and for Cairo a cairo_matrix_t pointer.
Inverts the matrix.
Returns true if the elements of the transformation matrix are equal.
Return true if this is the identity matrix.
Rotates this matrix (radians).
Scales this matrix.
Translates this matrix.
Sets the matrix to the respective values (default values are the identity matrix)
Applies this matrix to a point.
Applies this matrix to a distance (ie. performs all transforms except translations)
[This page automatically generated from the Textile source at 2023-06-09 00:45:25 +0000]