Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextFormat2 [−][src]
#[repr(transparent)]pub struct IDWriteTextFormat2(_);
Implementations
pub unsafe fn SetParagraphAlignment(
&self,
paragraphalignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> Result<()>
pub unsafe fn SetReadingDirection(
&self,
readingdirection: DWRITE_READING_DIRECTION
) -> Result<()>
pub unsafe fn SetTrimming<'a, Param1: IntoParam<'a, IDWriteInlineObject>>(
&self,
trimmingoptions: *const DWRITE_TRIMMING,
trimmingsign: Param1
) -> Result<()>
pub unsafe fn SetLineSpacing(
&self,
linespacingmethod: DWRITE_LINE_SPACING_METHOD,
linespacing: f32,
baseline: f32
) -> Result<()>
pub unsafe fn GetTrimming(
&self,
trimmingoptions: *mut DWRITE_TRIMMING,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> Result<()>
pub unsafe fn GetLineSpacing(
&self,
linespacingmethod: *mut DWRITE_LINE_SPACING_METHOD,
linespacing: *mut f32,
baseline: *mut f32
) -> Result<()>
pub unsafe fn SetVerticalGlyphOrientation(
&self,
glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> Result<()>
pub unsafe fn SetLastLineWrapping<'a, Param0: IntoParam<'a, BOOL>>(
&self,
islastlinewrappingenabled: Param0
) -> Result<()>
pub unsafe fn SetOpticalAlignment(
&self,
opticalalignment: DWRITE_OPTICAL_ALIGNMENT
) -> Result<()>
pub unsafe fn SetFontFallback<'a, Param0: IntoParam<'a, IDWriteFontFallback>>(
&self,
fontfallback: Param0
) -> Result<()>
pub unsafe fn SetLineSpacing2(
&self,
linespacingoptions: *const DWRITE_LINE_SPACING
) -> Result<()>
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.
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 IDWriteTextFormat2
impl !Send for IDWriteTextFormat2
impl !Sync for IDWriteTextFormat2
impl Unpin for IDWriteTextFormat2
impl UnwindSafe for IDWriteTextFormat2
Blanket Implementations
Mutably borrows from an owned value. Read more