Trait windows::Win32::Graphics::DirectWrite::IDWriteFactory3_Impl
pub trait IDWriteFactory3_Impl: Sized + IDWriteFactory2_Impl {
// Required methods
fn CreateGlyphRunAnalysis(
&self,
glyphrun: *const DWRITE_GLYPH_RUN,
transform: *const DWRITE_MATRIX,
renderingmode: DWRITE_RENDERING_MODE1,
measuringmode: DWRITE_MEASURING_MODE,
gridfitmode: DWRITE_GRID_FIT_MODE,
antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE,
baselineoriginx: f32,
baselineoriginy: f32,
) -> Result<IDWriteGlyphRunAnalysis>;
fn CreateCustomRenderingParams(
&self,
gamma: f32,
enhancedcontrast: f32,
grayscaleenhancedcontrast: f32,
cleartypelevel: f32,
pixelgeometry: DWRITE_PIXEL_GEOMETRY,
renderingmode: DWRITE_RENDERING_MODE1,
gridfitmode: DWRITE_GRID_FIT_MODE,
) -> Result<IDWriteRenderingParams3>;
fn CreateFontFaceReference(
&self,
fontfile: Option<&IDWriteFontFile>,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
) -> Result<IDWriteFontFaceReference>;
fn CreateFontFaceReference2(
&self,
filepath: &PCWSTR,
lastwritetime: *const FILETIME,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
) -> Result<IDWriteFontFaceReference>;
fn GetSystemFontSet(&self) -> Result<IDWriteFontSet>;
fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder>;
fn CreateFontCollectionFromFontSet(
&self,
fontset: Option<&IDWriteFontSet>,
) -> Result<IDWriteFontCollection1>;
fn GetSystemFontCollection(
&self,
includedownloadablefonts: BOOL,
fontcollection: *mut Option<IDWriteFontCollection1>,
checkforupdates: BOOL,
) -> Result<()>;
fn GetFontDownloadQueue(&self) -> Result<IDWriteFontDownloadQueue>;
}
Required Methods§
fn CreateGlyphRunAnalysis( &self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32, ) -> Result<IDWriteGlyphRunAnalysis>
fn CreateCustomRenderingParams( &self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE, ) -> Result<IDWriteRenderingParams3>
fn CreateFontFaceReference( &self, fontfile: Option<&IDWriteFontFile>, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, ) -> Result<IDWriteFontFaceReference>
fn CreateFontFaceReference2( &self, filepath: &PCWSTR, lastwritetime: *const FILETIME, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, ) -> Result<IDWriteFontFaceReference>
fn GetSystemFontSet(&self) -> Result<IDWriteFontSet>
fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder>
fn CreateFontCollectionFromFontSet( &self, fontset: Option<&IDWriteFontSet>, ) -> Result<IDWriteFontCollection1>
fn GetSystemFontCollection( &self, includedownloadablefonts: BOOL, fontcollection: *mut Option<IDWriteFontCollection1>, checkforupdates: BOOL, ) -> Result<()>
fn GetFontDownloadQueue(&self) -> Result<IDWriteFontDownloadQueue>
Object Safety§
This trait is not object safe.