#[repr(C)]pub struct IDWriteTextFormat2 {
pub lpVtbl: *const IDWriteTextFormat2Vtbl,
}
Fields§
§lpVtbl: *const IDWriteTextFormat2Vtbl
Implementations§
Source§impl IDWriteTextFormat2
impl IDWriteTextFormat2
pub unsafe fn SetLineSpacing( &self, lineSpacingOptions: *const DWRITE_LINE_SPACING, ) -> HRESULT
pub unsafe fn GetLineSpacing( &self, lineSpacingOptions: *mut DWRITE_LINE_SPACING, ) -> HRESULT
Methods from Deref<Target = IDWriteTextFormat1>§
pub unsafe fn SetVerticalGlyphOrientation( &self, glyphOrientation: DWRITE_VERTICAL_GLYPH_ORIENTATION, ) -> HRESULT
pub unsafe fn GetVerticalGlyphOrientation( &self, ) -> DWRITE_VERTICAL_GLYPH_ORIENTATION
pub unsafe fn SetLastLineWrapping( &self, isLastLineWrappingEnabled: BOOL, ) -> HRESULT
pub unsafe fn GetLastLineWrapping(&self) -> BOOL
pub unsafe fn SetOpticalAlignment( &self, opticalAlignment: DWRITE_OPTICAL_ALIGNMENT, ) -> HRESULT
pub unsafe fn GetOpticalAlignment(&self) -> DWRITE_OPTICAL_ALIGNMENT
pub unsafe fn SetFontFallback( &self, fontFallback: *mut IDWriteFontFallback, ) -> HRESULT
pub unsafe fn GetFontFallback( &self, fontFallback: *mut *mut IDWriteFontFallback, ) -> HRESULT
Methods from Deref<Target = IDWriteTextFormat>§
pub unsafe fn SetTextAlignment( &self, textAlignment: DWRITE_TEXT_ALIGNMENT, ) -> HRESULT
pub unsafe fn SetParagraphAlignment( &self, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT, ) -> HRESULT
pub unsafe fn SetWordWrapping( &self, wordWrapping: DWRITE_WORD_WRAPPING, ) -> HRESULT
pub unsafe fn SetReadingDirection( &self, readingDirection: DWRITE_READING_DIRECTION, ) -> HRESULT
pub unsafe fn SetFlowDirection( &self, flowDirection: DWRITE_FLOW_DIRECTION, ) -> HRESULT
pub unsafe fn SetIncrementalTabStop(&self, incrementalTabStop: FLOAT) -> HRESULT
pub unsafe fn SetTrimming( &self, trimmingOptions: *const DWRITE_TRIMMING, trimmingSign: *mut IDWriteInlineObject, ) -> HRESULT
pub unsafe fn SetLineSpacing( &self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseLine: FLOAT, ) -> HRESULT
pub unsafe fn GetTextAlignment(&self) -> DWRITE_TEXT_ALIGNMENT
pub unsafe fn GetParagraphAlignment(&self) -> DWRITE_PARAGRAPH_ALIGNMENT
pub unsafe fn GetWordWrapping(&self) -> DWRITE_WORD_WRAPPING
pub unsafe fn GetReadingDirection(&self) -> DWRITE_READING_DIRECTION
pub unsafe fn GetFlowDirection(&self) -> DWRITE_FLOW_DIRECTION
pub unsafe fn GetIncrementalTabStop(&self) -> FLOAT
pub unsafe fn GetTrimming( &self, trimmingOptions: *mut DWRITE_TRIMMING, trimmingSign: *mut *mut IDWriteInlineObject, ) -> HRESULT
pub unsafe fn GetLineSpacing( &self, lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD, lineSpacing: *mut FLOAT, baseline: *mut FLOAT, ) -> HRESULT
pub unsafe fn GetFontCollection( &self, fontCollection: *mut *mut IDWriteFontCollection, ) -> HRESULT
pub unsafe fn GetFontFamilyNameLength(&self) -> UINT32
pub unsafe fn GetFontFamilyName( &self, fontFamilyName: *mut WCHAR, nameSize: UINT32, ) -> HRESULT
pub unsafe fn GetFontWeight(&self) -> DWRITE_FONT_WEIGHT
pub unsafe fn GetFontStyle(&self) -> DWRITE_FONT_STYLE
pub unsafe fn GetFontStretch(&self) -> DWRITE_FONT_STRETCH
pub unsafe fn GetFontSize(&self) -> FLOAT
pub unsafe fn GetLocaleNameLength(&self) -> UINT32
pub unsafe fn GetLocaleName( &self, localeName: *mut WCHAR, nameSize: UINT32, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteTextFormat2
impl Deref for IDWriteTextFormat2
Source§type Target = IDWriteTextFormat1
type Target = IDWriteTextFormat1
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteTextFormat1
fn deref(&self) -> &IDWriteTextFormat1
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteTextFormat2
impl RefUnwindSafe for IDWriteTextFormat2
impl !Send for IDWriteTextFormat2
impl !Sync for IDWriteTextFormat2
impl Unpin for IDWriteTextFormat2
impl UnwindSafe for IDWriteTextFormat2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more