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

realize_stroke_text_plot_a0

Function realize_stroke_text_plot_a0 

Source
pub fn realize_stroke_text_plot_a0(
    request: StrokeTextRequest<'_>,
) -> Result<StrokeTextOutput, StrokeTextError>
Expand description

realize_stroke_text_a0 laid out as pcbnew plots board text: the pen is clamped to a quarter of the smaller text size (size 1 mm with thickness 0.3 plots a 0.25 mm pen), left- and right-justified text moves inward by the pen / 1.52 (KiCad FONT::getLinePositions; measured with kicad-cli 10.0.5 at every size and angle; centred text has none), and the line sits where FONT::getLinePositions puts it for its vertical justification.