Expand description
Validated device-space drawing commands, with explicit transforms and resources.
Structs§
- Builder
- Incrementally validates commands and layer grammar before producing a display list. Discard the builder after an error; prior structural charges are not rolled back.
- Display
List - Flat drawing commands with composed local-to-device transforms.
- Pixel
Size - Integer output dimensions; construction does not allocate pixel storage.
- Validated
Display List - Immutable command snapshot whose structure and properties have been checked. Clones share commands without exposing mutation. Validation covers structure, geometry and paint properties, not raster admission or device availability. Tighter consumers must check their limits.
Functions§
- mapped_
bounds - Maps all rectangle corners and checks finite coordinates and enclosing spans. Returns a conservative axis-aligned bound, not a geometric clipping region.
- validate_
path - Checks local and transformed path controls for finite, representable geometry. This does not flatten curves, charge structural units or determine pixel coverage.