Skip to main content

Module display_list

Module display_list 

Source
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.
DisplayList
Flat drawing commands with composed local-to-device transforms.
PixelSize
Integer output dimensions; construction does not allocate pixel storage.
ValidatedDisplayList
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.