Function with_glyf_memory

Source
pub(crate) fn with_glyf_memory<R>(
    outline: &Outline<'_>,
    hinting: Hinting,
    memory: Option<&mut [u8]>,
    f: impl FnMut(&mut [u8]) -> R,
) -> R
Expand description

Invokes the callback with a memory buffer suitable for drawing the given TrueType outline.