TransformCategory

The categories of matrices relevant for GSK and GTK.

Note that any category includes matrices of all later categories. So if you want to for example check if a matrix is a 2D matrix, category >= GSK_TRANSFORM_CATEGORY_2D is the way to do this.

Also keep in mind that rounding errors may cause matrices to not conform to their categories. Otherwise, matrix operations done via multiplication will not worsen categories. So for the matrix multiplication C = A * B, category(C) = MIN (category(A), category(B)).

Entries

Link copied to clipboard

The category of the matrix has not been determined.

Link copied to clipboard

Analyzing the matrix concluded that it does not fit in any other category.

Link copied to clipboard

The matrix is a 3D matrix. This means that the w column (the last column) has the values (0, 0, 0, 1).

Link copied to clipboard

The matrix is a 2D matrix. This is equivalent to graphene_matrix_is_2d() returning true. In particular, this means that Cairo can deal with the matrix.

Link copied to clipboard

The matrix is a combination of 2D scale and 2D translation operations. In particular, this means that any rectangle can be transformed exactly using this matrix.

Link copied to clipboard

The matrix is a 2D translation.

Link copied to clipboard

The matrix is the identity matrix.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.