pub trait IDWriteFontSetBuilder2_Impl: Sized + IDWriteFontSetBuilder1_Impl {
    // Required methods
    fn AddFont(
        &self,
        fontfile: Option<&IDWriteFontFile>,
        fontfaceindex: u32,
        fontsimulations: DWRITE_FONT_SIMULATIONS,
        fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
        fontaxisvaluecount: u32,
        fontaxisranges: *const DWRITE_FONT_AXIS_RANGE,
        fontaxisrangecount: u32,
        properties: *const DWRITE_FONT_PROPERTY,
        propertycount: u32,
    ) -> Result<()>;
    fn AddFontFile(&self, filepath: &PCWSTR) -> Result<()>;
}

Required Methods§

fn AddFont( &self, fontfile: Option<&IDWriteFontFile>, fontfaceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE, fontaxisvaluecount: u32, fontaxisranges: *const DWRITE_FONT_AXIS_RANGE, fontaxisrangecount: u32, properties: *const DWRITE_FONT_PROPERTY, propertycount: u32, ) -> Result<()>

fn AddFontFile(&self, filepath: &PCWSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§