Skip to main content

TextRasterizer

Type Alias TextRasterizer 

Source
pub type TextRasterizer = TextRasterizer;
Expand description

Callback that rasterizes a text run into the framebuffer.

The 3D overlay pass needs text, but strata_render must not depend on the platform text backend. Consumers install a rasterizer, exactly like the layout crate installs a text measurer.