Trait windows::Win32::Graphics::DirectWrite::IDWriteFactory6_Impl
pub trait IDWriteFactory6_Impl: Sized + IDWriteFactory5_Impl {
// Required methods
fn CreateFontFaceReference(
&self,
fontfile: Option<&IDWriteFontFile>,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32,
) -> Result<IDWriteFontFaceReference1>;
fn CreateFontResource(
&self,
fontfile: Option<&IDWriteFontFile>,
faceindex: u32,
) -> Result<IDWriteFontResource>;
fn GetSystemFontSet(
&self,
includedownloadablefonts: BOOL,
) -> Result<IDWriteFontSet1>;
fn GetSystemFontCollection(
&self,
includedownloadablefonts: BOOL,
fontfamilymodel: DWRITE_FONT_FAMILY_MODEL,
) -> Result<IDWriteFontCollection2>;
fn CreateFontCollectionFromFontSet(
&self,
fontset: Option<&IDWriteFontSet>,
fontfamilymodel: DWRITE_FONT_FAMILY_MODEL,
) -> Result<IDWriteFontCollection2>;
fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder2>;
fn CreateTextFormat(
&self,
fontfamilyname: &PCWSTR,
fontcollection: Option<&IDWriteFontCollection>,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32,
fontsize: f32,
localename: &PCWSTR,
) -> Result<IDWriteTextFormat3>;
}
Required Methods§
fn CreateFontFaceReference( &self, fontfile: Option<&IDWriteFontFile>, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE, fontaxisvaluecount: u32, ) -> Result<IDWriteFontFaceReference1>
fn CreateFontResource( &self, fontfile: Option<&IDWriteFontFile>, faceindex: u32, ) -> Result<IDWriteFontResource>
fn GetSystemFontSet( &self, includedownloadablefonts: BOOL, ) -> Result<IDWriteFontSet1>
fn GetSystemFontCollection( &self, includedownloadablefonts: BOOL, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL, ) -> Result<IDWriteFontCollection2>
fn CreateFontCollectionFromFontSet( &self, fontset: Option<&IDWriteFontSet>, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL, ) -> Result<IDWriteFontCollection2>
fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder2>
fn CreateTextFormat( &self, fontfamilyname: &PCWSTR, fontcollection: Option<&IDWriteFontCollection>, fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE, fontaxisvaluecount: u32, fontsize: f32, localename: &PCWSTR, ) -> Result<IDWriteTextFormat3>
Object Safety§
This trait is not object safe.