Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard

Gets the transform from a normalized space (-1, -1) - (1, 1) to the given rect.

Functions

Link copied to clipboard
fun FloatArray.preRotate(degrees: Float, px: Float, py: Float)

Preconcats the matrix with the specified rotation. M' = M * R(degrees, px, py)

Link copied to clipboard

Preconcats the matrix with a vertical flip operation.

Link copied to clipboard

Transforms size to a RectF with zero left and top.

fun Size.toRectF(left: Int, top: Int): RectF

Transforms a size to a RectF with given left and top.