IDWriteFontFace1Vtbl

Struct IDWriteFontFace1Vtbl 

Source
#[repr(C)]
pub struct IDWriteFontFace1Vtbl {
Show 13 fields pub parent: IDWriteFontFaceVtbl, pub GetMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, fontMetrics: *mut DWRITE_FONT_METRICS1), pub GetGdiCompatibleMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, fontMetrics: *mut DWRITE_FONT_METRICS1) -> HRESULT, pub GetCaretMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, caretMetrics: *mut DWRITE_CARET_METRICS), pub GetUnicodeRanges: unsafe extern "system" fn(This: *mut IDWriteFontFace1, maxRangeCount: UINT32, unicodeRanges: *mut DWRITE_UNICODE_RANGE, actualRangeCount: *mut UINT32) -> HRESULT, pub IsMonospacedFont: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL, pub GetDesignGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvances: *mut INT32, isSideways: BOOL) -> HRESULT, pub GetGdiCompatibleGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteFontFace1, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatural: BOOL, isSideways: BOOL, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvances: *mut INT32) -> HRESULT, pub GetKerningPairAdjustments: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvanceAdjustments: *mut INT32) -> HRESULT, pub HasKerningPairs: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL, pub GetRecommendedRenderingMode: unsafe extern "system" fn(This: *mut IDWriteFontFace1, fontEmSize: FLOAT, dpiX: FLOAT, dpiY: FLOAT, transform: *const DWRITE_MATRIX, isSideways: BOOL, outlineThreshold: DWRITE_OUTLINE_THRESHOLD, measuringMode: DWRITE_MEASURING_MODE, renderingMode: *mut DWRITE_RENDERING_MODE) -> HRESULT, pub GetVerticalGlyphVariants: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, nominalGlyphIndices: *const UINT16, verticalGlyphIndices: *mut UINT16) -> HRESULT, pub HasVerticalGlyphVariants: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL,
}

Fields§

§parent: IDWriteFontFaceVtbl§GetMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, fontMetrics: *mut DWRITE_FONT_METRICS1)§GetGdiCompatibleMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, fontMetrics: *mut DWRITE_FONT_METRICS1) -> HRESULT§GetCaretMetrics: unsafe extern "system" fn(This: *mut IDWriteFontFace1, caretMetrics: *mut DWRITE_CARET_METRICS)§GetUnicodeRanges: unsafe extern "system" fn(This: *mut IDWriteFontFace1, maxRangeCount: UINT32, unicodeRanges: *mut DWRITE_UNICODE_RANGE, actualRangeCount: *mut UINT32) -> HRESULT§IsMonospacedFont: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL§GetDesignGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvances: *mut INT32, isSideways: BOOL) -> HRESULT§GetGdiCompatibleGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteFontFace1, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatural: BOOL, isSideways: BOOL, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvances: *mut INT32) -> HRESULT§GetKerningPairAdjustments: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, glyphIndices: *const UINT16, glyphAdvanceAdjustments: *mut INT32) -> HRESULT§HasKerningPairs: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL§GetRecommendedRenderingMode: unsafe extern "system" fn(This: *mut IDWriteFontFace1, fontEmSize: FLOAT, dpiX: FLOAT, dpiY: FLOAT, transform: *const DWRITE_MATRIX, isSideways: BOOL, outlineThreshold: DWRITE_OUTLINE_THRESHOLD, measuringMode: DWRITE_MEASURING_MODE, renderingMode: *mut DWRITE_RENDERING_MODE) -> HRESULT§GetVerticalGlyphVariants: unsafe extern "system" fn(This: *mut IDWriteFontFace1, glyphCount: UINT32, nominalGlyphIndices: *const UINT16, verticalGlyphIndices: *mut UINT16) -> HRESULT§HasVerticalGlyphVariants: unsafe extern "system" fn(This: *mut IDWriteFontFace1) -> BOOL

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.