Skip to main content

shape_label

Function shape_label 

Source
pub fn shape_label(label: &Label) -> ShapeLabel<'_>
Expand description

A Label namespace read out for drawing. The one register the geometry layer cannot use as stored is offset: the document keeps it fixed-point (so its bytes are deterministic), while every anchor formula works in world pixels — the same pixels the drag wrote, since FracVal::from(f32) is what put it there.