Function bevy_retrograde_text::rasterize_text_block[][src]

pub fn rasterize_text_block(
    text: &Text,
    font: &Font,
    text_block: Option<&TextBlock>
) -> ImageBuffer<Rgba<u8>, Vec<u8>>
Expand description

Get the image for a text block

This function should not be necessary for normal users, but can be useful in advanced situations when you whish to rasterize a text block manually.