Expand description
Integer coordinates and exact orthogonal transforms.
All layout coordinates are i64 DBU. The float DTrans exists only as an
escape hatch for arbitrary-angle work (mask rotation, angled photonics);
conversion back to grid is explicit and lossy.
Structs§
- Bbox
- DTrans
- Floating-point complex transform. Use only for non-orthogonal rotation or magnification. Conversion back to integer DBU is explicit and lossy.
- Point
- Trans
- Exact orthogonal transform: optional mirror about X axis, then rotation, then translation. Composition is exact; coordinates stay on grid.
- Vec2