Re-exports§
pub use crate::graph::quad_bounds;
Structs§
Enums§
- Draw
Placement - Resolved
Brush - A layer-resolved brush, split at the solid/gradient boundary.
Functions§
- apply_
layer_ to_ brush - apply_
layer_ to_ color - The colour a primitive is actually painted in, once this layer has had its say.
- combine_
layers - compose_
color_ filters - primitives_
for_ placement - recording_
for_ placement_ reusing - Records
commandintostorage, a recording the caller kept from an earlier frame so its buffers keep the capacity they earned, and names the segmentsplacementdraws: everything for a behind or overlay command, the part before or after the last content marker for a with-content command.Nonewhen the command has noplacementhalf, in which case storage is not acquired and nothing is recorded. - resolve_
layer_ brush apply_layer_to_brushwithout the solid-brush clone: the borrowed brush’s color is copied (or layer-adjusted) inline, and only gradients are cloned. Produces exactly the valuesapply_layer_to_brushwould — both branches below mirror its fast path and itsSolidarm verbatim.- scale_
corner_ radii