pub trait IDWriteFontFaceReference_Impl: Sized {
Show 14 methods
// Required methods
fn CreateFontFace(&self) -> Result<IDWriteFontFace3>;
fn CreateFontFaceWithSimulations(
&self,
fontfacesimulationflags: DWRITE_FONT_SIMULATIONS,
) -> Result<IDWriteFontFace3>;
fn Equals(
&self,
fontfacereference: Option<&IDWriteFontFaceReference>,
) -> BOOL;
fn GetFontFaceIndex(&self) -> u32;
fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS;
fn GetFontFile(&self) -> Result<IDWriteFontFile>;
fn GetLocalFileSize(&self) -> u64;
fn GetFileSize(&self) -> u64;
fn GetFileTime(&self) -> Result<FILETIME>;
fn GetLocality(&self) -> DWRITE_LOCALITY;
fn EnqueueFontDownloadRequest(&self) -> Result<()>;
fn EnqueueCharacterDownloadRequest(
&self,
characters: &PCWSTR,
charactercount: u32,
) -> Result<()>;
fn EnqueueGlyphDownloadRequest(
&self,
glyphindices: *const u16,
glyphcount: u32,
) -> Result<()>;
fn EnqueueFileFragmentDownloadRequest(
&self,
fileoffset: u64,
fragmentsize: u64,
) -> Result<()>;
}
Required Methods§
fn CreateFontFace(&self) -> Result<IDWriteFontFace3>
fn CreateFontFaceWithSimulations( &self, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS, ) -> Result<IDWriteFontFace3>
fn Equals(&self, fontfacereference: Option<&IDWriteFontFaceReference>) -> BOOL
fn GetFontFaceIndex(&self) -> u32
fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS
fn GetFontFile(&self) -> Result<IDWriteFontFile>
fn GetLocalFileSize(&self) -> u64
fn GetFileSize(&self) -> u64
fn GetFileTime(&self) -> Result<FILETIME>
fn GetLocality(&self) -> DWRITE_LOCALITY
fn EnqueueFontDownloadRequest(&self) -> Result<()>
fn EnqueueCharacterDownloadRequest( &self, characters: &PCWSTR, charactercount: u32, ) -> Result<()>
fn EnqueueGlyphDownloadRequest( &self, glyphindices: *const u16, glyphcount: u32, ) -> Result<()>
fn EnqueueFileFragmentDownloadRequest( &self, fileoffset: u64, fragmentsize: u64, ) -> Result<()>
Object Safety§
This trait is not object safe.