Struct windows::Win32::Graphics::DirectWrite::IDWriteFontFace_Vtbl
#[repr(C)]pub struct IDWriteFontFace_Vtbl {Show 16 fields
pub base__: IUnknown_Vtbl,
pub GetType: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_FACE_TYPE,
pub GetFiles: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut *mut c_void) -> HRESULT,
pub GetIndex: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS,
pub IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL,
pub GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS),
pub GetGlyphCount: unsafe extern "system" fn(_: *mut c_void) -> u16,
pub GetDesignGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT,
pub GetGlyphIndices: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: u32, _: *mut u16) -> HRESULT,
pub TryGetFontTable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT,
pub ReleaseFontTable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void),
pub GetGlyphRunOutline: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: u32, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT,
pub GetRecommendedRenderingMode: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: DWRITE_MEASURING_MODE, _: *mut c_void, _: *mut DWRITE_RENDERING_MODE) -> HRESULT,
pub GetGdiCompatibleMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: *mut DWRITE_FONT_METRICS) -> HRESULT,
pub GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: BOOL, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetType: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_FACE_TYPE
§GetFiles: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut *mut c_void) -> HRESULT
§GetIndex: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS
§IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL
§GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS)
§GetGlyphCount: unsafe extern "system" fn(_: *mut c_void) -> u16
§GetDesignGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT
§GetGlyphIndices: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: u32, _: *mut u16) -> HRESULT
§TryGetFontTable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT
§ReleaseFontTable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void)
§GetGlyphRunOutline: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: u32, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT
§GetRecommendedRenderingMode: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: DWRITE_MEASURING_MODE, _: *mut c_void, _: *mut DWRITE_RENDERING_MODE) -> HRESULT
§GetGdiCompatibleMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: *mut DWRITE_FONT_METRICS) -> HRESULT
§GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: BOOL, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT
Implementations§
§impl IDWriteFontFace_Vtbl
impl IDWriteFontFace_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDWriteFontFace_Vtblwhere
Identity: IDWriteFontFace_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDWriteFontFace_Vtbl
impl RefUnwindSafe for IDWriteFontFace_Vtbl
impl Send for IDWriteFontFace_Vtbl
impl Sync for IDWriteFontFace_Vtbl
impl Unpin for IDWriteFontFace_Vtbl
impl UnwindSafe for IDWriteFontFace_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