Struct winapi::dwrite::IDWriteTextFormat [] [src]

pub struct IDWriteTextFormat {
    pub lpVtbl: *const IDWriteTextFormatVtbl,
}

Fields

lpVtbl: *const IDWriteTextFormatVtbl

Methods

impl IDWriteTextFormat
[src]

unsafe fn SetTextAlignment(&mut self, textAlignment: DWRITE_TEXT_ALIGNMENT) -> HRESULT

unsafe fn SetParagraphAlignment(&mut self, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT) -> HRESULT

unsafe fn SetWordWrapping(&mut self, wordWrapping: DWRITE_WORD_WRAPPING) -> HRESULT

unsafe fn SetReadingDirection(&mut self, readingDirection: DWRITE_READING_DIRECTION) -> HRESULT

unsafe fn SetFlowDirection(&mut self, flowDirection: DWRITE_FLOW_DIRECTION) -> HRESULT

unsafe fn SetIncrementalTabStop(&mut self, incrementalTabStop: FLOAT) -> HRESULT

unsafe fn SetTrimming(&mut self, trimmingOptions: *const DWRITE_TRIMMING, trimmingSign: *mut IDWriteInlineObject) -> HRESULT

unsafe fn SetLineSpacing(&mut self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseLine: FLOAT) -> HRESULT

unsafe fn GetTextAlignment(&mut self) -> DWRITE_TEXT_ALIGNMENT

unsafe fn GetParagraphAlignment(&mut self) -> DWRITE_PARAGRAPH_ALIGNMENT

unsafe fn GetWordWrapping(&mut self) -> DWRITE_WORD_WRAPPING

unsafe fn GetReadingDirection(&mut self) -> DWRITE_READING_DIRECTION

unsafe fn GetFlowDirection(&mut self) -> DWRITE_FLOW_DIRECTION

unsafe fn GetIncrementalTabStop(&mut self) -> FLOAT

unsafe fn GetTrimming(&mut self, trimmingOptions: *mut DWRITE_TRIMMING, trimmingSign: *mut *mut IDWriteInlineObject) -> HRESULT

unsafe fn GetLineSpacing(&mut self, lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD, lineSpacing: *mut FLOAT, baseline: *mut FLOAT) -> HRESULT

unsafe fn GetFontCollection(&mut self, fontCollection: *mut *mut IDWriteFontCollection) -> HRESULT

unsafe fn GetFontFamilyNameLength(&mut self) -> UINT32

unsafe fn GetFontFamilyName(&mut self, fontFamilyName: *mut WCHAR, nameSize: UINT32) -> HRESULT

unsafe fn GetFontWeight(&mut self) -> DWRITE_FONT_WEIGHT

unsafe fn GetFontStyle(&mut self) -> DWRITE_FONT_STYLE

unsafe fn GetFontStretch(&mut self) -> DWRITE_FONT_STRETCH

unsafe fn GetFontSize(&mut self) -> FLOAT

unsafe fn GetLocaleNameLength(&mut self) -> UINT32

unsafe fn GetLocaleName(&mut self, localeName: *mut WCHAR, nameSize: UINT32) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Debug for IDWriteTextFormat
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IDWriteTextFormat
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IDWriteTextFormat
[src]

fn deref_mut(&mut self) -> &mut IUnknown

The method called to mutably dereference a value