Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

keep_upright_draw_angle

Function keep_upright_draw_angle 

Source
pub fn keep_upright_draw_angle(angle: f64) -> f64
Expand description

Fold locked footprint text’s drawing angle into (-90, 90].

This is KiCad’s keep-upright presentation rule, not an authored rotation normalization. Unlocked text must retain its original angle instead.