#[repr(C)]pub struct IDWriteTextFormat {
pub lpVtbl: *const IDWriteTextFormatVtbl,
}
Fields§
§lpVtbl: *const IDWriteTextFormatVtbl
Implementations§
Source§impl IDWriteTextFormat
impl 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 IDWriteTextFormat
impl Deref for IDWriteTextFormat
Auto Trait Implementations§
impl Freeze for IDWriteTextFormat
impl RefUnwindSafe for IDWriteTextFormat
impl !Send for IDWriteTextFormat
impl !Sync for IDWriteTextFormat
impl Unpin for IDWriteTextFormat
impl UnwindSafe for IDWriteTextFormat
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