Struct windows::Win32::Graphics::DirectWrite::IDWriteTextLayout_Vtbl
#[repr(C)]pub struct IDWriteTextLayout_Vtbl {Show 40 fields
pub base__: IDWriteTextFormat_Vtbl,
pub SetMaxWidth: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub SetMaxHeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub SetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_WEIGHT, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STYLE, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STRETCH, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetFontSize: unsafe extern "system" fn(_: *mut c_void, _: f32, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetTypography: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub SetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT,
pub GetMaxWidth: unsafe extern "system" fn(_: *mut c_void) -> f32,
pub GetMaxHeight: unsafe extern "system" fn(_: *mut c_void) -> f32,
pub GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_WEIGHT, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STYLE, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STRETCH, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetFontSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetUnderline: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetTypography: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT,
pub Draw: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: f32, _: f32) -> HRESULT,
pub GetLineMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_METRICS, _: u32, _: *mut u32) -> HRESULT,
pub GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TEXT_METRICS) -> HRESULT,
pub GetOverhangMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_OVERHANG_METRICS) -> HRESULT,
pub GetClusterMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_CLUSTER_METRICS, _: u32, _: *mut u32) -> HRESULT,
pub DetermineMinWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub HitTestPoint: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *mut BOOL, _: *mut BOOL, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
pub HitTestTextPosition: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL, _: *mut f32, _: *mut f32, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
pub HitTestTextRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: f32, _: f32, _: *mut DWRITE_HIT_TEST_METRICS, _: u32, _: *mut u32) -> HRESULT,
}
Fields§
§base__: IDWriteTextFormat_Vtbl
§SetMaxWidth: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§SetMaxHeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§SetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_WEIGHT, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STYLE, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STRETCH, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetFontSize: unsafe extern "system" fn(_: *mut c_void, _: f32, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetTypography: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT
§SetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT
§GetMaxWidth: unsafe extern "system" fn(_: *mut c_void) -> f32
§GetMaxHeight: unsafe extern "system" fn(_: *mut c_void) -> f32
§GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_WEIGHT, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STYLE, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STRETCH, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetFontSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetUnderline: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetTypography: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT
§Draw: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: f32, _: f32) -> HRESULT
§GetLineMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_METRICS, _: u32, _: *mut u32) -> HRESULT
§GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TEXT_METRICS) -> HRESULT
§GetOverhangMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_OVERHANG_METRICS) -> HRESULT
§GetClusterMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_CLUSTER_METRICS, _: u32, _: *mut u32) -> HRESULT
§DetermineMinWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT
§HitTestPoint: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *mut BOOL, _: *mut BOOL, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT
§HitTestTextPosition: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL, _: *mut f32, _: *mut f32, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT
§HitTestTextRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: f32, _: f32, _: *mut DWRITE_HIT_TEST_METRICS, _: u32, _: *mut u32) -> HRESULT
Implementations§
§impl IDWriteTextLayout_Vtbl
impl IDWriteTextLayout_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDWriteTextLayout_Vtblwhere
Identity: IDWriteTextLayout_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDWriteTextLayout_Vtbl
impl RefUnwindSafe for IDWriteTextLayout_Vtbl
impl Send for IDWriteTextLayout_Vtbl
impl Sync for IDWriteTextLayout_Vtbl
impl Unpin for IDWriteTextLayout_Vtbl
impl UnwindSafe for IDWriteTextLayout_Vtbl
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