Skip to main content

compile_text_shapes

Function compile_text_shapes 

Source
pub fn compile_text_shapes(
    text: &str,
    x: f64,
    y: f64,
    font_size: f64,
    anchor: &str,
    style: FaceStyle,
) -> Option<Shape>
Expand description

Compile plain text to SVG-space glyph geometry (+Y down).