Matrix44

class Matrix44(mat: Float)

4x4 matrix used by SkCanvas and other parts of Skia.

Skia assumes a right-handed coordinate system: +X goes to the right +Y goes down +Z goes into the screen (away from the viewer)

Constructors

Link copied to clipboard
constructor(vararg mat: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Matrix elements are in row-major order.

Functions

Link copied to clipboard

When converting from Matrix44 to Matrix33, the third row and column is dropped.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String