Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFactory1 [−][src]
#[repr(transparent)]pub struct IDWriteFactory1(_);
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]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 = IDWriteFactory1_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 IDWriteFactory1
impl !Send for IDWriteFactory1
impl !Sync for IDWriteFactory1
impl Unpin for IDWriteFactory1
impl UnwindSafe for IDWriteFactory1
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