#[repr(C)]pub struct IDWriteFontFaceVtbl {Show 16 fields
pub parent: IUnknownVtbl,
pub GetType: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> DWRITE_FONT_FACE_TYPE,
pub GetFiles: unsafe extern "system" fn(This: *mut IDWriteFontFace, numberOfFiles: *mut UINT32, fontFiles: *mut *mut IDWriteFontFile) -> HRESULT,
pub GetIndex: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> UINT32,
pub GetSimulations: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> DWRITE_FONT_SIMULATIONS,
pub IsSymbolFont: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> BOOL,
pub GetMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, fontFaceMetrics: *mut DWRITE_FONT_METRICS),
pub GetGlyphCount: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> UINT16,
pub GetDesignGlyphMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULT,
pub GetGlyphIndices: unsafe extern "system" fn(This: *mut IDWriteFontFace, codePoints: *const UINT32, codePointCount: UINT32, glyphIndices: *mut UINT16) -> HRESULT,
pub TryGetFontTable: unsafe extern "system" fn(This: *mut IDWriteFontFace, openTypeTableTag: UINT32, tableData: *mut *const c_void, tableSize: *mut UINT32, tableContext: *mut *mut c_void, exists: *mut BOOL) -> HRESULT,
pub ReleaseFontTable: unsafe extern "system" fn(This: *mut IDWriteFontFace, tableContext: *mut c_void) -> HRESULT,
pub GetGlyphRunOutline: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, glyphIndices: *const UINT16, glyphAdvances: *const FLOAT, glyphOffsets: *const DWRITE_GLYPH_OFFSET, glyphCount: UINT32, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: *mut IDWriteGeometrySink) -> HRESULT,
pub GetRecommendedRenderingMode: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: *mut IDWriteRenderingParams, renderingMode: *mut DWRITE_RENDERING_MODE) -> HRESULT,
pub GetGdiCompatibleMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, fontFaceMetrics: *mut DWRITE_FONT_METRICS) -> HRESULT,
pub GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, enSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULT,
}Fields§
§parent: IUnknownVtbl§GetType: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> DWRITE_FONT_FACE_TYPE§GetFiles: unsafe extern "system" fn(This: *mut IDWriteFontFace, numberOfFiles: *mut UINT32, fontFiles: *mut *mut IDWriteFontFile) -> HRESULT§GetIndex: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> UINT32§GetSimulations: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> DWRITE_FONT_SIMULATIONS§IsSymbolFont: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> BOOL§GetMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, fontFaceMetrics: *mut DWRITE_FONT_METRICS)§GetGlyphCount: unsafe extern "system" fn(This: *mut IDWriteFontFace) -> UINT16§GetDesignGlyphMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULT§GetGlyphIndices: unsafe extern "system" fn(This: *mut IDWriteFontFace, codePoints: *const UINT32, codePointCount: UINT32, glyphIndices: *mut UINT16) -> HRESULT§TryGetFontTable: unsafe extern "system" fn(This: *mut IDWriteFontFace, openTypeTableTag: UINT32, tableData: *mut *const c_void, tableSize: *mut UINT32, tableContext: *mut *mut c_void, exists: *mut BOOL) -> HRESULT§ReleaseFontTable: unsafe extern "system" fn(This: *mut IDWriteFontFace, tableContext: *mut c_void) -> HRESULT§GetGlyphRunOutline: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, glyphIndices: *const UINT16, glyphAdvances: *const FLOAT, glyphOffsets: *const DWRITE_GLYPH_OFFSET, glyphCount: UINT32, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: *mut IDWriteGeometrySink) -> HRESULT§GetRecommendedRenderingMode: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: *mut IDWriteRenderingParams, renderingMode: *mut DWRITE_RENDERING_MODE) -> HRESULT§GetGdiCompatibleMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, fontFaceMetrics: *mut DWRITE_FONT_METRICS) -> HRESULT§GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace, enSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULTAuto Trait Implementations§
impl Freeze for IDWriteFontFaceVtbl
impl RefUnwindSafe for IDWriteFontFaceVtbl
impl Send for IDWriteFontFaceVtbl
impl Sync for IDWriteFontFaceVtbl
impl Unpin for IDWriteFontFaceVtbl
impl UnwindSafe for IDWriteFontFaceVtbl
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