Struct IDWriteFactory3Vtbl

Source
#[repr(C)]
pub struct IDWriteFactory3Vtbl { pub parent: IDWriteFactory2Vtbl, pub CreateGlyphRunAnalysis: unsafe extern "system" fn(This: *mut IDWriteFactory3, glyphRun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE1, measuringMode: DWRITE_MEASURING_MODE, gridFitMode: DWRITE_GRID_FIT_MODE, antialiasMode: DWRITE_TEXT_ANTIALIAS_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT, glyphRunAnalysis: *mut *mut IDWriteGlyphRunAnalysis) -> HRESULT, pub CreateCustomRenderingParams: unsafe extern "system" fn(This: *mut IDWriteFactory3, gamma: FLOAT, enhancedContrast: FLOAT, grayscaleEnhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE1, gridFitMode: DWRITE_GRID_FIT_MODE, renderingParams: *mut *mut IDWriteRenderingParams3) -> HRESULT, pub CreateFontFaceReference_2: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontFile: *mut IDWriteFontFile, faceIndex: UINT32, fontSimulations: DWRITE_FONT_SIMULATIONS, fontFaceReference: *mut *mut IDWriteFontFaceReference) -> HRESULT, pub CreateFontFaceReference_1: unsafe extern "system" fn(This: *mut IDWriteFactory3, filePath: *const WCHAR, lastWriteTime: *const FILETIME, faceIndex: UINT32, fontSimulations: DWRITE_FONT_SIMULATIONS, fontFaceReference: *mut *mut IDWriteFontFaceReference) -> HRESULT, pub GetSystemFontSet: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSet: *mut *mut IDWriteFontSet) -> HRESULT, pub CreateFontSetBuilder: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSetBuilder: *mut *mut IDWriteFontSetBuilder) -> HRESULT, pub CreateFontCollectionFromFontSet: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSet: *mut IDWriteFontSet, fontCollection: *mut *mut IDWriteFontCollection1) -> HRESULT, pub GetSystemFontCollection: unsafe extern "system" fn(This: *mut IDWriteFactory3, includeDownloadableFonts: BOOL, fontCollection: *mut *mut IDWriteFontCollection1, checkForUpdates: BOOL) -> HRESULT, pub GetFontDownloadQueue: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontDownloadQueue: *mut *mut IDWriteFontDownloadQueue) -> HRESULT, }

Fields§

§parent: IDWriteFactory2Vtbl§CreateGlyphRunAnalysis: unsafe extern "system" fn(This: *mut IDWriteFactory3, glyphRun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE1, measuringMode: DWRITE_MEASURING_MODE, gridFitMode: DWRITE_GRID_FIT_MODE, antialiasMode: DWRITE_TEXT_ANTIALIAS_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT, glyphRunAnalysis: *mut *mut IDWriteGlyphRunAnalysis) -> HRESULT§CreateCustomRenderingParams: unsafe extern "system" fn(This: *mut IDWriteFactory3, gamma: FLOAT, enhancedContrast: FLOAT, grayscaleEnhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE1, gridFitMode: DWRITE_GRID_FIT_MODE, renderingParams: *mut *mut IDWriteRenderingParams3) -> HRESULT§CreateFontFaceReference_2: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontFile: *mut IDWriteFontFile, faceIndex: UINT32, fontSimulations: DWRITE_FONT_SIMULATIONS, fontFaceReference: *mut *mut IDWriteFontFaceReference) -> HRESULT§CreateFontFaceReference_1: unsafe extern "system" fn(This: *mut IDWriteFactory3, filePath: *const WCHAR, lastWriteTime: *const FILETIME, faceIndex: UINT32, fontSimulations: DWRITE_FONT_SIMULATIONS, fontFaceReference: *mut *mut IDWriteFontFaceReference) -> HRESULT§GetSystemFontSet: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSet: *mut *mut IDWriteFontSet) -> HRESULT§CreateFontSetBuilder: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSetBuilder: *mut *mut IDWriteFontSetBuilder) -> HRESULT§CreateFontCollectionFromFontSet: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontSet: *mut IDWriteFontSet, fontCollection: *mut *mut IDWriteFontCollection1) -> HRESULT§GetSystemFontCollection: unsafe extern "system" fn(This: *mut IDWriteFactory3, includeDownloadableFonts: BOOL, fontCollection: *mut *mut IDWriteFontCollection1, checkForUpdates: BOOL) -> HRESULT§GetFontDownloadQueue: unsafe extern "system" fn(This: *mut IDWriteFactory3, fontDownloadQueue: *mut *mut IDWriteFontDownloadQueue) -> 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.