Struct winapi::dwrite::IDWriteTextLayoutVtbl [] [src]

pub struct IDWriteTextLayoutVtbl {
    pub parent: IDWriteTextFormatVtbl,
    pub SetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxWidth: FLOAT) -> HRESULT,
    pub SetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxHeight: FLOAT) -> HRESULT,
    pub SetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontCollection: *mut IDWriteFontCollection, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontFamilyName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, drawingEffect: *mut IUnknown, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, inlineObject: *mut IDWriteInlineObject, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, typography: *mut IDWriteTypography, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, localeName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT,
    pub GetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT,
    pub GetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontCollection: *mut *mut IDWriteFontCollection, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontFamilyName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontWeight: *mut DWRITE_FONT_WEIGHT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStyle: *mut DWRITE_FONT_STYLE, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStretch: *mut DWRITE_FONT_STRETCH, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontSize: *mut FLOAT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasUnderline: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasStrikethrough: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, drawingEffect: *mut *mut IUnknown, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, inlineObject: *mut *mut IDWriteInlineObject, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, typography: *mut *mut IDWriteTypography, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, localeName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub Draw: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clientDrawingContext: *mut c_void, renderer: *mut IDWriteTextRenderer, originX: FLOAT, originY: FLOAT) -> HRESULT,
    pub GetLineMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, lineMetrics: *mut DWRITE_LINE_METRICS, maxLineCount: UINT32, actualLineCount: *mut UINT32) -> HRESULT,
    pub GetMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textMetrics: *mut DWRITE_TEXT_METRICS) -> HRESULT,
    pub GetOverhangMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, overhangs: *mut DWRITE_OVERHANG_METRICS) -> HRESULT,
    pub GetClusterMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clusterMetrics: *mut DWRITE_CLUSTER_METRICS, maxClusterCount: UINT32, actualClusterCount: *mut UINT32) -> HRESULT,
    pub DetermineMinWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, minWidth: *mut FLOAT) -> HRESULT,
    pub HitTestPoint: unsafe extern "system" fn(This: *mut IDWriteTextLayout, pointX: FLOAT, pointY: FLOAT, isTrailingHit: *mut BOOL, isInside: *mut BOOL, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
    pub HitTestTextPosition: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, isTrailingHit: BOOL, pointX: *mut FLOAT, pointY: *mut FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
    pub HitTestTextRange: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS, maxHitTestMetricsCount: UINT32, actualHitTestMetricsCount: *mut UINT32) -> HRESULT,
}

Fields

parent: IDWriteTextFormatVtbl SetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxWidth: FLOAT) -> HRESULT SetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxHeight: FLOAT) -> HRESULT SetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontCollection: *mut IDWriteFontCollection, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontFamilyName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, drawingEffect: *mut IUnknown, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, inlineObject: *mut IDWriteInlineObject, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, typography: *mut IDWriteTypography, textRange: DWRITE_TEXT_RANGE) -> HRESULT SetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, localeName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT GetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT GetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT GetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontCollection: *mut *mut IDWriteFontCollection, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontFamilyName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontWeight: *mut DWRITE_FONT_WEIGHT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStyle: *mut DWRITE_FONT_STYLE, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStretch: *mut DWRITE_FONT_STRETCH, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontSize: *mut FLOAT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasUnderline: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasStrikethrough: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, drawingEffect: *mut *mut IUnknown, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, inlineObject: *mut *mut IDWriteInlineObject, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, typography: *mut *mut IDWriteTypography, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT GetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, localeName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT Draw: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clientDrawingContext: *mut c_void, renderer: *mut IDWriteTextRenderer, originX: FLOAT, originY: FLOAT) -> HRESULT GetLineMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, lineMetrics: *mut DWRITE_LINE_METRICS, maxLineCount: UINT32, actualLineCount: *mut UINT32) -> HRESULT GetMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textMetrics: *mut DWRITE_TEXT_METRICS) -> HRESULT GetOverhangMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, overhangs: *mut DWRITE_OVERHANG_METRICS) -> HRESULT GetClusterMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clusterMetrics: *mut DWRITE_CLUSTER_METRICS, maxClusterCount: UINT32, actualClusterCount: *mut UINT32) -> HRESULT DetermineMinWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, minWidth: *mut FLOAT) -> HRESULT HitTestPoint: unsafe extern "system" fn(This: *mut IDWriteTextLayout, pointX: FLOAT, pointY: FLOAT, isTrailingHit: *mut BOOL, isInside: *mut BOOL, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT HitTestTextPosition: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, isTrailingHit: BOOL, pointX: *mut FLOAT, pointY: *mut FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT HitTestTextRange: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS, maxHitTestMetricsCount: UINT32, actualHitTestMetricsCount: *mut UINT32) -> HRESULT