Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextFormat1 [−][src]
#[repr(transparent)]pub struct IDWriteTextFormat1(_);
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<()>
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.
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
Mutably borrows from an owned value. Read more