wxGraphicsMatrix
A wxGraphicsMatrix 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 default creates an identity
matrix.
Creation Parameters
- a [= 1.0]
- b [= 0.0]
- c [= 0.0]
- d [= 1.0]
- tx [= 0.0]
- ty [= 0.0]
Functions/Procedures
- proc graphics_matrix_concat( atom m1, atom m2 )
- func graphics_matrix_equal( atom matrix, atom other )
- func graphics_matrix_get( atom matrix )
- func graphics_matrix_get_native( atom matrix )
- func graphics_matrix_identity( atom matrix )
- proc graphics_matrix_invert( atom matrix )
- func graphics_matrix_isnull( atom matrix )
- func graphics_matrix_renderer( atom matrix )
- proc graphics_matrix_rotate( atom matrix, atom angle )
- proc graphics_matrix_scale( atom matrix, atom x, atom y )
- proc graphics_matrix_set( atom matrix, atom a, atom b, atom c, atom d, atom tx, atom ty )
- func graphics_matrix_transform_distance( atom matrix, atom dx, atom dy )
- func graphics_matrix_transform_point( atom matrix, atom x, atom y )
- proc graphics_matrix_translate( atom matrix, atom x, atom y )
Supertopics
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Concatenates the matrix passed with the current matrix.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Returns true if the elements of the transformation matrix are equal.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Returns the component values of the matrix as a sequence (a, b, c, d, tx, ty).
wxGraphicsMatrix
Category:
wxGraphicsMatrix
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.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Return true if this is the identity matrix.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Inverts the matrix.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Is this object valid (false) or still empty (true)?
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Rotates this matrix (radians).
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Scales this matrix.
wxGraphicsMatrix
[proc]
graphics_matrix_set ( atom matrix, atom a, atom b, atom c, atom d, atom tx, atom ty )
Category:
wxGraphicsMatrix
Sets the matrix to the respective values
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Applies this matrix to a distance (ie. performs all transforms except translations)
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Applies this matrix to a point.
wxGraphicsMatrix
Category:
wxGraphicsMatrix
Translates this matrix.