Skip to main content

render_raster_vtext_solid

Function render_raster_vtext_solid 

Source
pub fn render_raster_vtext_solid<PF: PixelFormat>(
    ren: &mut RendererBase<PF>,
    glyph: &mut GlyphRasterBin<'_>,
    x: f64,
    y: f64,
    text: &str,
    color: &PF::ColorType,
    flip: bool,
)
Expand description

Render a vertical text string using a raster glyph generator and solid color.

Port of C++ renderer_raster_vtext_solid::render_text().