Skip to main content

Module geometry

Module geometry 

Source
Expand description

Geometry types: affine transform matrices, path segments, and paths.

Structs§

Matrix
Affine transformation matrix [a, b, c, d, tx, ty].
PsPath
A path in device space, composed of path segments.

Enums§

PathSegment
A segment in a device-space path.

Functions§

round10
Round to 10 decimal places to eliminate floating-point artifacts.