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.
OpacityScope
One authored opacity boundary, ordered from the outermost ancestor to the painted node. Native surfaces can present independently while a canvas backend composes each scope.
ReplayCanvasLayerUpdate
Replay invalidation for one logical canvas layer.

Enums§

Layer
Render layer selected for a primitive or native surface.

Traits§

RenderContext
The drawing contract shared by Pax runtime backends.

Functions§

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