Inheritance diagram for wx.GraphicsMatrix:
A wx.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.
Parameters:
Gets the component values of the matrix and returns them as a tuple.
Returns:
(a, b, c, d, tx, ty)
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.
Returns:
void
Note
For wxPython we still need a way to make this value usable.
Returns True if the elements of the transformation matrix are equal.
Parameters:
Returns:
bool
Return True if this is the identity matrix.
Returns:
bool
Rotates this matrix (radians).
Parameters:
Scales this matrix.
Parameters:
Sets the matrix to the respective values (default values are the identity matrix)
Parameters:
Applies this matrix to a distance (ie. performs all transforms except translations)
Parameters:
Returns:
(dx, dy)
Applies this matrix to a point.
Parameters:
Returns:
(x, y)
Translates this matrix.
Parameters: