Trait windows::Win32::Graphics::DirectWrite::IDWriteFontFace3_Impl
pub trait IDWriteFontFace3_Impl: Sized + IDWriteFontFace2_Impl {
Show 14 methods
// Required methods
fn GetFontFaceReference(&self) -> Result<IDWriteFontFaceReference>;
fn GetPanose(&self, panose: *mut DWRITE_PANOSE);
fn GetWeight(&self) -> DWRITE_FONT_WEIGHT;
fn GetStretch(&self) -> DWRITE_FONT_STRETCH;
fn GetStyle(&self) -> DWRITE_FONT_STYLE;
fn GetFamilyNames(&self) -> Result<IDWriteLocalizedStrings>;
fn GetFaceNames(&self) -> Result<IDWriteLocalizedStrings>;
fn GetInformationalStrings(
&self,
informationalstringid: DWRITE_INFORMATIONAL_STRING_ID,
informationalstrings: *mut Option<IDWriteLocalizedStrings>,
exists: *mut BOOL,
) -> Result<()>;
fn HasCharacter(&self, unicodevalue: u32) -> BOOL;
fn GetRecommendedRenderingMode(
&self,
fontemsize: f32,
dpix: f32,
dpiy: f32,
transform: *const DWRITE_MATRIX,
issideways: BOOL,
outlinethreshold: DWRITE_OUTLINE_THRESHOLD,
measuringmode: DWRITE_MEASURING_MODE,
renderingparams: Option<&IDWriteRenderingParams>,
renderingmode: *mut DWRITE_RENDERING_MODE1,
gridfitmode: *mut DWRITE_GRID_FIT_MODE,
) -> Result<()>;
fn IsCharacterLocal(&self, unicodevalue: u32) -> BOOL;
fn IsGlyphLocal(&self, glyphid: u16) -> BOOL;
fn AreCharactersLocal(
&self,
characters: &PCWSTR,
charactercount: u32,
enqueueifnotlocal: BOOL,
) -> Result<BOOL>;
fn AreGlyphsLocal(
&self,
glyphindices: *const u16,
glyphcount: u32,
enqueueifnotlocal: BOOL,
) -> Result<BOOL>;
}
Required Methods§
fn GetFontFaceReference(&self) -> Result<IDWriteFontFaceReference>
fn GetPanose(&self, panose: *mut DWRITE_PANOSE)
fn GetWeight(&self) -> DWRITE_FONT_WEIGHT
fn GetStretch(&self) -> DWRITE_FONT_STRETCH
fn GetStyle(&self) -> DWRITE_FONT_STYLE
fn GetFamilyNames(&self) -> Result<IDWriteLocalizedStrings>
fn GetFaceNames(&self) -> Result<IDWriteLocalizedStrings>
fn GetInformationalStrings( &self, informationalstringid: DWRITE_INFORMATIONAL_STRING_ID, informationalstrings: *mut Option<IDWriteLocalizedStrings>, exists: *mut BOOL, ) -> Result<()>
fn HasCharacter(&self, unicodevalue: u32) -> BOOL
fn GetRecommendedRenderingMode( &self, fontemsize: f32, dpix: f32, dpiy: f32, transform: *const DWRITE_MATRIX, issideways: BOOL, outlinethreshold: DWRITE_OUTLINE_THRESHOLD, measuringmode: DWRITE_MEASURING_MODE, renderingparams: Option<&IDWriteRenderingParams>, renderingmode: *mut DWRITE_RENDERING_MODE1, gridfitmode: *mut DWRITE_GRID_FIT_MODE, ) -> Result<()>
fn IsCharacterLocal(&self, unicodevalue: u32) -> BOOL
fn IsGlyphLocal(&self, glyphid: u16) -> BOOL
fn AreCharactersLocal( &self, characters: &PCWSTR, charactercount: u32, enqueueifnotlocal: BOOL, ) -> Result<BOOL>
fn AreGlyphsLocal( &self, glyphindices: *const u16, glyphcount: u32, enqueueifnotlocal: BOOL, ) -> Result<BOOL>
Object Safety§
This trait is not object safe.