Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextFormat1 [−][src]
#[repr(transparent)]pub struct IDWriteTextFormat1(_);
Implementations
pub unsafe fn SetParagraphAlignment(
&self,
paragraphalignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
[src]pub unsafe fn SetReadingDirection(
&self,
readingdirection: DWRITE_READING_DIRECTION
) -> HRESULT
[src]pub unsafe fn SetTrimming<'a>(
&self,
trimmingoptions: *const DWRITE_TRIMMING,
trimmingsign: impl IntoParam<'a, IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn SetLineSpacing(
&self,
linespacingmethod: DWRITE_LINE_SPACING_METHOD,
linespacing: f32,
baseline: f32
) -> HRESULT
[src]pub unsafe fn GetTrimming(
&self,
trimmingoptions: *mut DWRITE_TRIMMING,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn GetLineSpacing(
&self,
linespacingmethod: *mut DWRITE_LINE_SPACING_METHOD,
linespacing: *mut f32,
baseline: *mut f32
) -> HRESULT
[src]pub unsafe fn GetFontCollection(
&self,
fontcollection: *mut Option<IDWriteFontCollection>
) -> HRESULT
[src]pub unsafe fn SetVerticalGlyphOrientation(
&self,
glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> HRESULT
[src]pub unsafe fn SetLastLineWrapping<'a>(
&self,
islastlinewrappingenabled: impl IntoParam<'a, BOOL>
) -> HRESULT
[src]pub unsafe fn SetOpticalAlignment(
&self,
opticalalignment: DWRITE_OPTICAL_ALIGNMENT
) -> HRESULT
[src]pub unsafe fn SetFontFallback<'a>(
&self,
fontfallback: impl IntoParam<'a, IDWriteFontFallback>
) -> HRESULT
[src]pub unsafe fn GetFontFallback(
&self,
fontfallback: *mut Option<IDWriteFontFallback>
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteTextFormat1_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 IDWriteTextFormat1
impl !Send for IDWriteTextFormat1
impl !Sync for IDWriteTextFormat1
impl Unpin for IDWriteTextFormat1
impl UnwindSafe for IDWriteTextFormat1
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