wxGraphicsMatrix

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
Functions/Procedures
Supertopics

wxGraphicsMatrix

[proc]
graphics_matrix_concat
( atom m1, atom m2 )

Category: wxGraphicsMatrix

Concatenates the matrix passed with the current matrix.


wxGraphicsMatrix

[func]
graphics_matrix_equal
( atom matrix, atom other )

Category: wxGraphicsMatrix

Returns true if the elements of the transformation matrix are equal.


wxGraphicsMatrix

[func]
graphics_matrix_get
( atom matrix )

Category: wxGraphicsMatrix

Returns the component values of the matrix as a sequence (a, b, c, d, tx, ty).


wxGraphicsMatrix

[func]
graphics_matrix_get_native
( atom matrix )

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

[func]
graphics_matrix_identity
( atom matrix )

Category: wxGraphicsMatrix

Return true if this is the identity matrix.


wxGraphicsMatrix

[proc]
graphics_matrix_invert
( atom matrix )

Category: wxGraphicsMatrix

Inverts the matrix.


wxGraphicsMatrix

[func]
graphics_matrix_isnull
( atom matrix )

Category: wxGraphicsMatrix

Is this object valid (false) or still empty (true)?


wxGraphicsMatrix

[func]
graphics_matrix_renderer
( atom matrix )

Category: wxGraphicsMatrix

Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet


wxGraphicsMatrix

[proc]
graphics_matrix_rotate
( atom matrix, atom angle )

Category: wxGraphicsMatrix

Rotates this matrix (radians).


wxGraphicsMatrix

[proc]
graphics_matrix_scale
( atom matrix, atom x, atom y )

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

[func]
graphics_matrix_transform_distance
( atom matrix, atom dx, atom dy )

Category: wxGraphicsMatrix

Applies this matrix to a distance (ie. performs all transforms except translations)


wxGraphicsMatrix

[func]
graphics_matrix_transform_point
( atom matrix, atom x, atom y )

Category: wxGraphicsMatrix

Applies this matrix to a point.


wxGraphicsMatrix

[proc]
graphics_matrix_translate
( atom matrix, atom x, atom y )

Category: wxGraphicsMatrix

Translates this matrix.