Skip to main content

label_weight_standoff_px

Function label_weight_standoff_px 

Source
pub fn label_weight_standoff_px(weight: f64) -> f64
Expand description

Extra bond↔label standoff (px) when absolute ink exceeds Regular.

Label buffer grow + half the extra bond stroke vs STROKE_PX.

§Panics

Panics if weight is invalid (see diagram_weight).