Trait windows::Win32::Graphics::DirectWrite::IDWriteFont_Impl

pub trait IDWriteFont_Impl: Sized {
    // Required methods
    fn GetFontFamily(&self) -> Result<IDWriteFontFamily>;
    fn GetWeight(&self) -> DWRITE_FONT_WEIGHT;
    fn GetStretch(&self) -> DWRITE_FONT_STRETCH;
    fn GetStyle(&self) -> DWRITE_FONT_STYLE;
    fn IsSymbolFont(&self) -> BOOL;
    fn GetFaceNames(&self) -> Result<IDWriteLocalizedStrings>;
    fn GetInformationalStrings(
        &self,
        informationalstringid: DWRITE_INFORMATIONAL_STRING_ID,
        informationalstrings: *mut Option<IDWriteLocalizedStrings>,
        exists: *mut BOOL,
    ) -> Result<()>;
    fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS;
    fn GetMetrics(&self, fontmetrics: *mut DWRITE_FONT_METRICS);
    fn HasCharacter(&self, unicodevalue: u32) -> Result<BOOL>;
    fn CreateFontFace(&self) -> Result<IDWriteFontFace>;
}

Required Methods§

fn GetFontFamily(&self) -> Result<IDWriteFontFamily>

fn GetWeight(&self) -> DWRITE_FONT_WEIGHT

fn GetStretch(&self) -> DWRITE_FONT_STRETCH

fn GetStyle(&self) -> DWRITE_FONT_STYLE

fn IsSymbolFont(&self) -> BOOL

fn GetFaceNames(&self) -> Result<IDWriteLocalizedStrings>

fn GetInformationalStrings( &self, informationalstringid: DWRITE_INFORMATIONAL_STRING_ID, informationalstrings: *mut Option<IDWriteLocalizedStrings>, exists: *mut BOOL, ) -> Result<()>

fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS

fn GetMetrics(&self, fontmetrics: *mut DWRITE_FONT_METRICS)

fn HasCharacter(&self, unicodevalue: u32) -> Result<BOOL>

fn CreateFontFace(&self) -> Result<IDWriteFontFace>

Object Safety§

This trait is not object safe.

Implementors§