Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFactory6 [−][src]
#[repr(transparent)]pub struct IDWriteFactory6(_);
Implementations
pub unsafe fn GetSystemFontCollection<'a>(
&self,
fontcollection: *mut Option<IDWriteFontCollection>,
checkforupdates: impl IntoParam<'a, BOOL>
) -> HRESULT
[src]pub unsafe fn CreateCustomFontCollection<'a>(
&self,
collectionloader: impl IntoParam<'a, IDWriteFontCollectionLoader>,
collectionkey: *const c_void,
collectionkeysize: u32,
fontcollection: *mut Option<IDWriteFontCollection>
) -> HRESULT
[src]pub unsafe fn RegisterFontCollectionLoader<'a>(
&self,
fontcollectionloader: impl IntoParam<'a, IDWriteFontCollectionLoader>
) -> HRESULT
[src]pub unsafe fn UnregisterFontCollectionLoader<'a>(
&self,
fontcollectionloader: impl IntoParam<'a, IDWriteFontCollectionLoader>
) -> HRESULT
[src]pub unsafe fn CreateFontFileReference<'a>(
&self,
filepath: impl IntoParam<'a, PWSTR>,
lastwritetime: *const FILETIME,
fontfile: *mut Option<IDWriteFontFile>
) -> HRESULT
[src]pub unsafe fn CreateCustomFontFileReference<'a>(
&self,
fontfilereferencekey: *const c_void,
fontfilereferencekeysize: u32,
fontfileloader: impl IntoParam<'a, IDWriteFontFileLoader>,
fontfile: *mut Option<IDWriteFontFile>
) -> HRESULT
[src]pub unsafe fn CreateFontFace(
&self,
fontfacetype: DWRITE_FONT_FACE_TYPE,
numberoffiles: u32,
fontfiles: *mut Option<IDWriteFontFile>,
faceindex: u32,
fontfacesimulationflags: DWRITE_FONT_SIMULATIONS,
fontface: *mut Option<IDWriteFontFace>
) -> HRESULT
[src]pub unsafe fn CreateRenderingParams(
&self,
renderingparams: *mut Option<IDWriteRenderingParams>
) -> HRESULT
[src]pub unsafe fn CreateMonitorRenderingParams<'a>(
&self,
monitor: impl IntoParam<'a, HMONITOR>,
renderingparams: *mut Option<IDWriteRenderingParams>
) -> HRESULT
[src]pub unsafe fn CreateCustomRenderingParams(
&self,
gamma: f32,
enhancedcontrast: f32,
cleartypelevel: f32,
pixelgeometry: DWRITE_PIXEL_GEOMETRY,
renderingmode: DWRITE_RENDERING_MODE,
renderingparams: *mut Option<IDWriteRenderingParams>
) -> HRESULT
[src]pub unsafe fn RegisterFontFileLoader<'a>(
&self,
fontfileloader: impl IntoParam<'a, IDWriteFontFileLoader>
) -> HRESULT
[src]pub unsafe fn UnregisterFontFileLoader<'a>(
&self,
fontfileloader: impl IntoParam<'a, IDWriteFontFileLoader>
) -> HRESULT
[src]pub unsafe fn CreateTextFormat<'a>(
&self,
fontfamilyname: impl IntoParam<'a, PWSTR>,
fontcollection: impl IntoParam<'a, IDWriteFontCollection>,
fontweight: DWRITE_FONT_WEIGHT,
fontstyle: DWRITE_FONT_STYLE,
fontstretch: DWRITE_FONT_STRETCH,
fontsize: f32,
localename: impl IntoParam<'a, PWSTR>,
textformat: *mut Option<IDWriteTextFormat>
) -> HRESULT
[src]pub unsafe fn CreateTextLayout<'a>(
&self,
string: impl IntoParam<'a, PWSTR>,
stringlength: u32,
textformat: impl IntoParam<'a, IDWriteTextFormat>,
maxwidth: f32,
maxheight: f32,
textlayout: *mut Option<IDWriteTextLayout>
) -> HRESULT
[src]pub unsafe fn CreateGdiCompatibleTextLayout<'a>(
&self,
string: impl IntoParam<'a, PWSTR>,
stringlength: u32,
textformat: impl IntoParam<'a, IDWriteTextFormat>,
layoutwidth: f32,
layoutheight: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: impl IntoParam<'a, BOOL>,
textlayout: *mut Option<IDWriteTextLayout>
) -> HRESULT
[src]pub unsafe fn CreateEllipsisTrimmingSign<'a>(
&self,
textformat: impl IntoParam<'a, IDWriteTextFormat>,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn CreateTextAnalyzer(
&self,
textanalyzer: *mut Option<IDWriteTextAnalyzer>
) -> HRESULT
[src]pub unsafe fn CreateNumberSubstitution<'a>(
&self,
substitutionmethod: DWRITE_NUMBER_SUBSTITUTION_METHOD,
localename: impl IntoParam<'a, PWSTR>,
ignoreuseroverride: impl IntoParam<'a, BOOL>,
numbersubstitution: *mut Option<IDWriteNumberSubstitution>
) -> HRESULT
[src]pub unsafe fn CreateGlyphRunAnalysis(
&self,
glyphrun: *const DWRITE_GLYPH_RUN,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
renderingmode: DWRITE_RENDERING_MODE,
measuringmode: DWRITE_MEASURING_MODE,
baselineoriginx: f32,
baselineoriginy: f32,
glyphrunanalysis: *mut Option<IDWriteGlyphRunAnalysis>
) -> HRESULT
[src]pub unsafe fn GetEudcFontCollection<'a>(
&self,
fontcollection: *mut Option<IDWriteFontCollection>,
checkforupdates: impl IntoParam<'a, BOOL>
) -> HRESULT
[src]pub unsafe fn CreateCustomRenderingParams2(
&self,
gamma: f32,
enhancedcontrast: f32,
enhancedcontrastgrayscale: f32,
cleartypelevel: f32,
pixelgeometry: DWRITE_PIXEL_GEOMETRY,
renderingmode: DWRITE_RENDERING_MODE,
renderingparams: *mut Option<IDWriteRenderingParams1>
) -> HRESULT
[src]pub unsafe fn GetSystemFontFallback(
&self,
fontfallback: *mut Option<IDWriteFontFallback>
) -> HRESULT
[src]pub unsafe fn CreateFontFallbackBuilder(
&self,
fontfallbackbuilder: *mut Option<IDWriteFontFallbackBuilder>
) -> HRESULT
[src]pub unsafe fn TranslateColorGlyphRun(
&self,
baselineoriginx: f32,
baselineoriginy: f32,
glyphrun: *const DWRITE_GLYPH_RUN,
glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
measuringmode: DWRITE_MEASURING_MODE,
worldtodevicetransform: *const DWRITE_MATRIX,
colorpaletteindex: u32,
colorlayers: *mut Option<IDWriteColorGlyphRunEnumerator>
) -> HRESULT
[src]pub unsafe fn CreateCustomRenderingParams3(
&self,
gamma: f32,
enhancedcontrast: f32,
grayscaleenhancedcontrast: f32,
cleartypelevel: f32,
pixelgeometry: DWRITE_PIXEL_GEOMETRY,
renderingmode: DWRITE_RENDERING_MODE,
gridfitmode: DWRITE_GRID_FIT_MODE,
renderingparams: *mut Option<IDWriteRenderingParams2>
) -> HRESULT
[src]pub unsafe fn CreateGlyphRunAnalysis2(
&self,
glyphrun: *const DWRITE_GLYPH_RUN,
transform: *const DWRITE_MATRIX,
renderingmode: DWRITE_RENDERING_MODE,
measuringmode: DWRITE_MEASURING_MODE,
gridfitmode: DWRITE_GRID_FIT_MODE,
antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE,
baselineoriginx: f32,
baselineoriginy: f32,
glyphrunanalysis: *mut Option<IDWriteGlyphRunAnalysis>
) -> HRESULT
[src]pub unsafe fn CreateGlyphRunAnalysis3(
&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,
glyphrunanalysis: *mut Option<IDWriteGlyphRunAnalysis>
) -> HRESULT
[src]pub unsafe fn CreateCustomRenderingParams4(
&self,
gamma: f32,
enhancedcontrast: f32,
grayscaleenhancedcontrast: f32,
cleartypelevel: f32,
pixelgeometry: DWRITE_PIXEL_GEOMETRY,
renderingmode: DWRITE_RENDERING_MODE1,
gridfitmode: DWRITE_GRID_FIT_MODE,
renderingparams: *mut Option<IDWriteRenderingParams3>
) -> HRESULT
[src]pub unsafe fn CreateFontFaceReference<'a>(
&self,
filepath: impl IntoParam<'a, PWSTR>,
lastwritetime: *const FILETIME,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontfacereference: *mut Option<IDWriteFontFaceReference>
) -> HRESULT
[src]pub unsafe fn CreateFontFaceReference2<'a>(
&self,
fontfile: impl IntoParam<'a, IDWriteFontFile>,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontfacereference: *mut Option<IDWriteFontFaceReference>
) -> HRESULT
[src]pub unsafe fn CreateFontSetBuilder(
&self,
fontsetbuilder: *mut Option<IDWriteFontSetBuilder>
) -> HRESULT
[src]pub unsafe fn CreateFontCollectionFromFontSet<'a>(
&self,
fontset: impl IntoParam<'a, IDWriteFontSet>,
fontcollection: *mut Option<IDWriteFontCollection1>
) -> HRESULT
[src]pub unsafe fn GetSystemFontCollection2<'a>(
&self,
includedownloadablefonts: impl IntoParam<'a, BOOL>,
fontcollection: *mut Option<IDWriteFontCollection1>,
checkforupdates: impl IntoParam<'a, BOOL>
) -> HRESULT
[src]pub unsafe fn GetFontDownloadQueue(
&self,
fontdownloadqueue: *mut Option<IDWriteFontDownloadQueue>
) -> HRESULT
[src]pub unsafe fn TranslateColorGlyphRun2<'a>(
&self,
baselineorigin: impl IntoParam<'a, D2D_POINT_2F>,
glyphrun: *const DWRITE_GLYPH_RUN,
glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS,
measuringmode: DWRITE_MEASURING_MODE,
worldanddpitransform: *const DWRITE_MATRIX,
colorpaletteindex: u32,
colorlayers: *mut Option<IDWriteColorGlyphRunEnumerator1>
) -> HRESULT
[src]pub unsafe fn ComputeGlyphOrigins<'a>(
&self,
glyphrun: *const DWRITE_GLYPH_RUN,
measuringmode: DWRITE_MEASURING_MODE,
baselineorigin: impl IntoParam<'a, D2D_POINT_2F>,
worldanddpitransform: *const DWRITE_MATRIX,
glyphorigins: *mut D2D_POINT_2F
) -> HRESULT
[src]pub unsafe fn ComputeGlyphOrigins2<'a>(
&self,
glyphrun: *const DWRITE_GLYPH_RUN,
baselineorigin: impl IntoParam<'a, D2D_POINT_2F>,
glyphorigins: *mut D2D_POINT_2F
) -> HRESULT
[src]pub unsafe fn CreateFontSetBuilder2(
&self,
fontsetbuilder: *mut Option<IDWriteFontSetBuilder1>
) -> HRESULT
[src]pub unsafe fn CreateInMemoryFontFileLoader(
&self,
newloader: *mut Option<IDWriteInMemoryFontFileLoader>
) -> HRESULT
[src]pub unsafe fn CreateHttpFontFileLoader<'a>(
&self,
referrerurl: impl IntoParam<'a, PWSTR>,
extraheaders: impl IntoParam<'a, PWSTR>,
newloader: *mut Option<IDWriteRemoteFontFileLoader>
) -> HRESULT
[src]pub unsafe fn AnalyzeContainerType(
&self,
filedata: *const c_void,
filedatasize: u32
) -> DWRITE_CONTAINER_TYPE
[src]pub unsafe fn UnpackFontFile(
&self,
containertype: DWRITE_CONTAINER_TYPE,
filedata: *const c_void,
filedatasize: u32,
unpackedfontstream: *mut Option<IDWriteFontFileStream>
) -> HRESULT
[src]pub unsafe fn CreateFontFaceReference3<'a>(
&self,
fontfile: impl IntoParam<'a, IDWriteFontFile>,
faceindex: u32,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32,
fontfacereference: *mut Option<IDWriteFontFaceReference1>
) -> HRESULT
[src]pub unsafe fn CreateFontResource<'a>(
&self,
fontfile: impl IntoParam<'a, IDWriteFontFile>,
faceindex: u32,
fontresource: *mut Option<IDWriteFontResource>
) -> HRESULT
[src]pub unsafe fn GetSystemFontSet2<'a>(
&self,
includedownloadablefonts: impl IntoParam<'a, BOOL>,
fontset: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]pub unsafe fn GetSystemFontCollection3<'a>(
&self,
includedownloadablefonts: impl IntoParam<'a, BOOL>,
fontfamilymodel: DWRITE_FONT_FAMILY_MODEL,
fontcollection: *mut Option<IDWriteFontCollection2>
) -> HRESULT
[src]pub unsafe fn CreateFontCollectionFromFontSet2<'a>(
&self,
fontset: impl IntoParam<'a, IDWriteFontSet>,
fontfamilymodel: DWRITE_FONT_FAMILY_MODEL,
fontcollection: *mut Option<IDWriteFontCollection2>
) -> HRESULT
[src]pub unsafe fn CreateFontSetBuilder3(
&self,
fontsetbuilder: *mut Option<IDWriteFontSetBuilder2>
) -> HRESULT
[src]pub unsafe fn CreateTextFormat2<'a>(
&self,
fontfamilyname: impl IntoParam<'a, PWSTR>,
fontcollection: impl IntoParam<'a, IDWriteFontCollection>,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32,
fontsize: f32,
localename: impl IntoParam<'a, PWSTR>,
textformat: *mut Option<IDWriteTextFormat3>
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteFactory6_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteFactory6
impl !Send for IDWriteFactory6
impl !Sync for IDWriteFactory6
impl Unpin for IDWriteFactory6
impl UnwindSafe for IDWriteFactory6
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more