Struct IDWriteFontFaceVtbl

Source
#[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) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.