pub trait IDWriteFontSet4_Impl: Sized + IDWriteFontSet3_Impl {
    // Required methods
    fn ConvertWeightStretchStyleToFontAxisValues(
        &self,
        inputaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
        inputaxiscount: u32,
        fontweight: DWRITE_FONT_WEIGHT,
        fontstretch: DWRITE_FONT_STRETCH,
        fontstyle: DWRITE_FONT_STYLE,
        fontsize: f32,
        outputaxisvalues: *mut DWRITE_FONT_AXIS_VALUE,
    ) -> u32;
    fn GetMatchingFonts(
        &self,
        familyname: &PCWSTR,
        fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
        fontaxisvaluecount: u32,
        allowedsimulations: DWRITE_FONT_SIMULATIONS,
    ) -> Result<IDWriteFontSet4>;
}

Required Methods§

fn ConvertWeightStretchStyleToFontAxisValues( &self, inputaxisvalues: *const DWRITE_FONT_AXIS_VALUE, inputaxiscount: u32, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE, fontsize: f32, outputaxisvalues: *mut DWRITE_FONT_AXIS_VALUE, ) -> u32

fn GetMatchingFonts( &self, familyname: &PCWSTR, fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE, fontaxisvaluecount: u32, allowedsimulations: DWRITE_FONT_SIMULATIONS, ) -> Result<IDWriteFontSet4>

Object Safety§

This trait is not object safe.

Implementors§