Struct winapi::dwrite::IDWriteTextLayout [] [src]

pub struct IDWriteTextLayout {
    pub lpVtbl: *const IDWriteTextLayoutVtbl,
}

Fields

lpVtbl: *const IDWriteTextLayoutVtbl

Methods

impl IDWriteTextLayout
[src]

unsafe fn SetMaxWidth(&mut self, maxWidth: FLOAT) -> HRESULT

unsafe fn SetMaxHeight(&mut self, maxHeight: FLOAT) -> HRESULT

unsafe fn SetFontCollection(&mut self, fontCollection: *mut IDWriteFontCollection, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetFontFamilyName(&mut self, fontFamilyName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetFontWeight(&mut self, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetFontStyle(&mut self, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetFontStretch(&mut self, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetFontSize(&mut self, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetUnderline(&mut self, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetStrikethrough(&mut self, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetDrawingEffect(&mut self, drawingEffect: *mut IUnknown, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetInlineObject(&mut self, inlineObject: *mut IDWriteInlineObject, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetTypography(&mut self, typography: *mut IDWriteTypography, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn SetLocaleName(&mut self, localeName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetMaxWidth(&mut self) -> FLOAT

unsafe fn GetMaxHeight(&mut self) -> FLOAT

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

unsafe fn GetFontFamilyNameLength(&mut self, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

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

unsafe fn GetFontWeight(&mut self, currentPosition: UINT32, fontWeight: *mut DWRITE_FONT_WEIGHT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetFontStyle(&mut self, currentPosition: UINT32, fontStyle: *mut DWRITE_FONT_STYLE, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetFontStretch(&mut self, currentPosition: UINT32, fontStretch: *mut DWRITE_FONT_STRETCH, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetFontSize(&mut self, currentPosition: UINT32, fontSize: *mut FLOAT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetUnderline(&mut self, currentPosition: UINT32, hasUnderline: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetStrikethrough(&mut self, currentPosition: UINT32, hasStrikethrough: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetDrawingEffect(&mut self, currentPosition: UINT32, drawingEffect: *mut *mut IUnknown, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetInlineObject(&mut self, currentPosition: UINT32, inlineObject: *mut *mut IDWriteInlineObject, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetTypography(&mut self, currentPosition: UINT32, typography: *mut *mut IDWriteTypography, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

unsafe fn GetLocaleNameLength(&mut self, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT

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

unsafe fn Draw(&mut self, clientDrawingContext: *mut c_void, renderer: *mut IDWriteTextRenderer, originX: FLOAT, originY: FLOAT) -> HRESULT

unsafe fn GetLineMetrics(&mut self, lineMetrics: *mut DWRITE_LINE_METRICS, maxLineCount: UINT32, actualLineCount: *mut UINT32) -> HRESULT

unsafe fn GetMetrics(&mut self, textMetrics: *mut DWRITE_TEXT_METRICS) -> HRESULT

unsafe fn GetOverhangMetrics(&mut self, overhangs: *mut DWRITE_OVERHANG_METRICS) -> HRESULT

unsafe fn GetClusterMetrics(&mut self, clusterMetrics: *mut DWRITE_CLUSTER_METRICS, maxClusterCount: UINT32, actualClusterCount: *mut UINT32) -> HRESULT

unsafe fn DetermineMinWidth(&mut self, minWidth: *mut FLOAT) -> HRESULT

unsafe fn HitTestPoint(&mut self, pointX: FLOAT, pointY: FLOAT, isTrailingHit: *mut BOOL, isInside: *mut BOOL, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT

unsafe fn HitTestTextPosition(&mut self, textPosition: UINT32, isTrailingHit: BOOL, pointX: *mut FLOAT, pointY: *mut FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT

unsafe fn HitTestTextRange(&mut self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS, maxHitTestMetricsCount: UINT32, actualHitTestMetricsCount: *mut UINT32) -> HRESULT

Methods from Deref<Target=IDWriteTextFormat>

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

Trait Implementations

impl Debug for IDWriteTextLayout
[src]

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

Formats the value using the given formatter.

impl Deref for IDWriteTextLayout
[src]

type Target = IDWriteTextFormat

The resulting type after dereferencing

fn deref(&self) -> &IDWriteTextFormat

The method called to dereference a value

impl DerefMut for IDWriteTextLayout
[src]

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

The method called to mutably dereference a value