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

realize_stroke_text_a0

Function realize_stroke_text_a0 

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

Realize text in the built-in stroke font as ordered, disconnected polylines.

The returned coordinates use the same y-down millimetre space as PCB and footprint source values. Alignment is applied before mirroring, the source rotation transform, and translation. A source angle of +90 maps local +X toward global -Y. Markup supports the ~{overbar}, _{subscript}, and ^{superscript} rules (KiCad’s markup). Unsupported codepoints are drawn with ? and counted in missing_glyphs.