Function add_font_from_resource

Source
pub fn add_font_from_resource(
    identifier: impl AsRef<str>,
    handle: HMODULE,
    resource: u32,
    font_size: f32,
    config: &mut ImFontConfig,
    callback: RawFontReceive,
) -> Revertible<impl Fn() + Send + Sync + 'static>
Expand description

Adds a font from a resource and sends updates to the callback.