pub trait IDWriteFontSet_Impl: Sized {
    // Required methods
    fn GetFontCount(&self) -> u32;
    fn GetFontFaceReference(
        &self,
        listindex: u32,
    ) -> Result<IDWriteFontFaceReference>;
    fn FindFontFaceReference(
        &self,
        fontfacereference: Option<&IDWriteFontFaceReference>,
        listindex: *mut u32,
        exists: *mut BOOL,
    ) -> Result<()>;
    fn FindFontFace(
        &self,
        fontface: Option<&IDWriteFontFace>,
        listindex: *mut u32,
        exists: *mut BOOL,
    ) -> Result<()>;
    fn GetPropertyValues(
        &self,
        propertyid: DWRITE_FONT_PROPERTY_ID,
    ) -> Result<IDWriteStringList>;
    fn GetPropertyValues2(
        &self,
        propertyid: DWRITE_FONT_PROPERTY_ID,
        preferredlocalenames: &PCWSTR,
    ) -> Result<IDWriteStringList>;
    fn GetPropertyValues3(
        &self,
        listindex: u32,
        propertyid: DWRITE_FONT_PROPERTY_ID,
        exists: *mut BOOL,
        values: *mut Option<IDWriteLocalizedStrings>,
    ) -> Result<()>;
    fn GetPropertyOccurrenceCount(
        &self,
        property: *const DWRITE_FONT_PROPERTY,
    ) -> Result<u32>;
    fn GetMatchingFonts(
        &self,
        familyname: &PCWSTR,
        fontweight: DWRITE_FONT_WEIGHT,
        fontstretch: DWRITE_FONT_STRETCH,
        fontstyle: DWRITE_FONT_STYLE,
    ) -> Result<IDWriteFontSet>;
    fn GetMatchingFonts2(
        &self,
        properties: *const DWRITE_FONT_PROPERTY,
        propertycount: u32,
    ) -> Result<IDWriteFontSet>;
}

Required Methods§

fn GetFontCount(&self) -> u32

fn GetFontFaceReference( &self, listindex: u32, ) -> Result<IDWriteFontFaceReference>

fn FindFontFaceReference( &self, fontfacereference: Option<&IDWriteFontFaceReference>, listindex: *mut u32, exists: *mut BOOL, ) -> Result<()>

fn FindFontFace( &self, fontface: Option<&IDWriteFontFace>, listindex: *mut u32, exists: *mut BOOL, ) -> Result<()>

fn GetPropertyValues( &self, propertyid: DWRITE_FONT_PROPERTY_ID, ) -> Result<IDWriteStringList>

fn GetPropertyValues2( &self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: &PCWSTR, ) -> Result<IDWriteStringList>

fn GetPropertyValues3( &self, listindex: u32, propertyid: DWRITE_FONT_PROPERTY_ID, exists: *mut BOOL, values: *mut Option<IDWriteLocalizedStrings>, ) -> Result<()>

fn GetPropertyOccurrenceCount( &self, property: *const DWRITE_FONT_PROPERTY, ) -> Result<u32>

fn GetMatchingFonts( &self, familyname: &PCWSTR, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE, ) -> Result<IDWriteFontSet>

fn GetMatchingFonts2( &self, properties: *const DWRITE_FONT_PROPERTY, propertycount: u32, ) -> Result<IDWriteFontSet>

Object Safety§

This trait is not object safe.

Implementors§