Skip to main content

Module rendering

Module rendering 

Source
Expand description

Rendering backend contracts and helpers for drawing Pax scene content.

Structs§

AlphaMaskPaint
One vector paint contributing alpha to a mask, in local path coordinates. Color channels do not affect coverage; fill alpha and opacity are multiplied.
ReplayCanvasLayerUpdate
Replay invalidation for one logical canvas layer.

Enums§

Layer
Render layer selected for a primitive or native surface.

Traits§

RenderContext
The Pax render trait, used as a layer of indirection and contract for backend-agnostic rendering.

Functions§

bez_path_to_svg_path_data
Convert a kurbo BezPath to a SVG-friendly drawing string