pub trait WebrenderApi {
    // Required methods
    fn add_font_instance(&self, font_key: FontKey, size: f32) -> FontInstanceKey;
    fn add_font(&self, data: Arc<Vec<u8>>, index: u32) -> FontKey;
    fn add_system_font(&self, handle: NativeFontHandle) -> FontKey;
}

Required Methods§

source

fn add_font_instance(&self, font_key: FontKey, size: f32) -> FontInstanceKey

source

fn add_font(&self, data: Arc<Vec<u8>>, index: u32) -> FontKey

source

fn add_system_font(&self, handle: NativeFontHandle) -> FontKey

Implementors§