menu

TextTransform

import { TextTransform } from "destack:input/binding";

Text input affine transform into target-local coordinates.

language/library/src/input/binding/text.ds:51:64
1export struct TextTransform {2    xx: float64;3    xy: float64;4    yx: float64;5    yy: float64;6    tx: float64;7    ty: float64;8}

Members

xx: float64

Matrix first-row x coefficient.

xy: float64

Matrix first-row y coefficient.

yx: float64

Matrix second-row x coefficient.

yy: float64

Matrix second-row y coefficient.

tx: float64

Translation x component.

ty: float64

Translation y component.