Expand description
Affine transforms built from libm, and lengths from sqrt alone, so
they are the same bits on every target.
Functions§
- distance
- The distance between two points, from
sqrtalone. - is_
invertible - Whether
affinecan be inverted: a finite, non-zero determinant. - length
- The length of
vector, fromsqrtalone. - max_
scale - The largest factor
affinestretches a length by: its larger singular value. Zero for a transform that collapses everything. - placement
- A group’s transform in pixel space: translate by minus
anchor, scale, rotate clockwise, then translate toposition. - rotation
- A clockwise rotation by
degreesin pixel space (y down), about the origin. - rotation_
about - A clockwise rotation by
degreesaboutcenter.