Skip to main content

Module line_dec

Module line_dec 

Source

Structs§

LineDecoration
Identifying key for a line decoration. The mask tile size (LineDecorationCacheKey) is intentionally not part of the intern key — it is a deterministic function of style, orientation, wavy_line_thickness, and the prim’s per-frame local rect, and is rebuilt during frame building.
LineDecorationCacheKey
LineDecorationData
LineDecorationScratch
Per-frame scratch data for a LineDecoration primitive.

Constants§

MAX_LINE_DECORATION_RESOLUTION
Maximum resolution in device pixels at which line decorations are rasterized.

Functions§

get_line_decoration_size
Choose the decoration mask tile size for a given line.

Type Aliases§

LineDecorationDataHandle
LineDecorationKey
LineDecorationTemplate