Trait windows::Win32::Graphics::DirectWrite::IDWriteFontFamily_Impl
pub trait IDWriteFontFamily_Impl: Sized + IDWriteFontList_Impl {
// Required methods
fn GetFamilyNames(&self) -> Result<IDWriteLocalizedStrings>;
fn GetFirstMatchingFont(
&self,
weight: DWRITE_FONT_WEIGHT,
stretch: DWRITE_FONT_STRETCH,
style: DWRITE_FONT_STYLE,
) -> Result<IDWriteFont>;
fn GetMatchingFonts(
&self,
weight: DWRITE_FONT_WEIGHT,
stretch: DWRITE_FONT_STRETCH,
style: DWRITE_FONT_STYLE,
) -> Result<IDWriteFontList>;
}
Required Methods§
fn GetFamilyNames(&self) -> Result<IDWriteLocalizedStrings>
fn GetFirstMatchingFont( &self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, ) -> Result<IDWriteFont>
fn GetMatchingFonts( &self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, ) -> Result<IDWriteFontList>
Object Safety§
This trait is not object safe.