Skip to main content

text_request

Function text_request 

Source
pub fn text_request(
    text: &str,
    style: &TextStyle,
    size: PictureSize,
    key: u64,
) -> TextRasterRequest
Expand description

The text host request for text in style on a picture of size, with content version key. Sizes are scaled from canvas fractions to pixels and clamped to what the host draws.