Struct winapi::dwrite::IDWriteFontFace [] [src]

pub struct IDWriteFontFace {
    pub lpVtbl: *const IDWriteFontFaceVtbl,
}

Fields

lpVtbl: *const IDWriteFontFaceVtbl

Methods

impl IDWriteFontFace
[src]

unsafe fn GetType(&mut self) -> DWRITE_FONT_FACE_TYPE

unsafe fn GetFiles(&mut self, numberOfFiles: *mut UINT32, fontFiles: *mut *mut IDWriteFontFile) -> HRESULT

unsafe fn GetIndex(&mut self) -> UINT32

unsafe fn GetSimulations(&mut self) -> DWRITE_FONT_SIMULATIONS

unsafe fn IsSymbolFont(&mut self) -> BOOL

unsafe fn GetMetrics(&mut self, fontFaceMetrics: *mut DWRITE_FONT_METRICS)

unsafe fn GetGlyphCount(&mut self) -> UINT16

unsafe fn GetDesignGlyphMetrics(&mut self, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULT

unsafe fn GetGlyphIndices(&mut self, codePoints: *const UINT32, codePointCount: UINT32, glyphIndices: *mut UINT16) -> HRESULT

unsafe fn TryGetFontTable(&mut self, openTypeTableTag: UINT32, tableData: *mut *const c_void, tableSize: *mut UINT32, tableContext: *mut *mut c_void, exists: *mut BOOL) -> HRESULT

unsafe fn ReleaseFontTable(&mut self, tableContext: *mut c_void) -> HRESULT

unsafe fn GetGlyphRunOutline(&mut self, emSize: FLOAT, glyphIndices: *const UINT16, glyphAdvances: *const FLOAT, glyphOffsets: *const DWRITE_GLYPH_OFFSET, glyphCount: UINT32, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: *mut IDWriteGeometrySink) -> HRESULT

unsafe fn GetRecommendedRenderingMode(&mut self, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: *mut IDWriteRenderingParams, renderingMode: *mut DWRITE_RENDERING_MODE) -> HRESULT

unsafe fn GetGdiCompatibleMetrics(&mut self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, fontFaceMetrics: *mut DWRITE_FONT_METRICS) -> HRESULT

unsafe fn GetGdiCompatibleGlyphMetrics(&mut self, enSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, glyphIndices: *const UINT16, glyphCount: UINT32, glyphMetrics: *mut DWRITE_GLYPH_METRICS, isSideways: BOOL) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Debug for IDWriteFontFace
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IDWriteFontFace
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IDWriteFontFace
[src]

fn deref_mut(&mut self) -> &mut IUnknown

The method called to mutably dereference a value