[−][src]Struct winapi::um::dwrite::IDWriteFontFace
Fields
lpVtbl: *const IDWriteFontFaceVtbl
Implementations
impl IDWriteFontFace
[src]
pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE
[src]
pub unsafe fn GetFiles(
&self,
numberOfFiles: *mut UINT32,
fontFiles: *mut *mut IDWriteFontFile
) -> HRESULT
[src]
&self,
numberOfFiles: *mut UINT32,
fontFiles: *mut *mut IDWriteFontFile
) -> HRESULT
pub unsafe fn GetIndex(&self) -> UINT32
[src]
pub unsafe fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS
[src]
pub unsafe fn IsSymbolFont(&self) -> BOOL
[src]
pub unsafe fn GetMetrics(&self, fontFaceMetrics: *mut DWRITE_FONT_METRICS)
[src]
pub unsafe fn GetGlyphCount(&self) -> UINT16
[src]
pub unsafe fn GetDesignGlyphMetrics(
&self,
glyphIndices: *const UINT16,
glyphCount: UINT32,
glyphMetrics: *mut DWRITE_GLYPH_METRICS,
isSideways: BOOL
) -> HRESULT
[src]
&self,
glyphIndices: *const UINT16,
glyphCount: UINT32,
glyphMetrics: *mut DWRITE_GLYPH_METRICS,
isSideways: BOOL
) -> HRESULT
pub unsafe fn GetGlyphIndices(
&self,
codePoints: *const UINT32,
codePointCount: UINT32,
glyphIndices: *mut UINT16
) -> HRESULT
[src]
&self,
codePoints: *const UINT32,
codePointCount: UINT32,
glyphIndices: *mut UINT16
) -> HRESULT
pub unsafe fn TryGetFontTable(
&self,
openTypeTableTag: UINT32,
tableData: *mut *const c_void,
tableSize: *mut UINT32,
tableContext: *mut *mut c_void,
exists: *mut BOOL
) -> HRESULT
[src]
&self,
openTypeTableTag: UINT32,
tableData: *mut *const c_void,
tableSize: *mut UINT32,
tableContext: *mut *mut c_void,
exists: *mut BOOL
) -> HRESULT
pub unsafe fn ReleaseFontTable(&self, tableContext: *mut c_void) -> HRESULT
[src]
pub unsafe fn GetGlyphRunOutline(
&self,
emSize: FLOAT,
glyphIndices: *const UINT16,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphCount: UINT32,
isSideways: BOOL,
isRightToLeft: BOOL,
geometrySink: *mut IDWriteGeometrySink
) -> HRESULT
[src]
&self,
emSize: FLOAT,
glyphIndices: *const UINT16,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphCount: UINT32,
isSideways: BOOL,
isRightToLeft: BOOL,
geometrySink: *mut IDWriteGeometrySink
) -> HRESULT
pub unsafe fn GetRecommendedRenderingMode(
&self,
emSize: FLOAT,
pixelsPerDip: FLOAT,
measuringMode: DWRITE_MEASURING_MODE,
renderingParams: *mut IDWriteRenderingParams,
renderingMode: *mut DWRITE_RENDERING_MODE
) -> HRESULT
[src]
&self,
emSize: FLOAT,
pixelsPerDip: FLOAT,
measuringMode: DWRITE_MEASURING_MODE,
renderingParams: *mut IDWriteRenderingParams,
renderingMode: *mut DWRITE_RENDERING_MODE
) -> HRESULT
pub unsafe fn GetGdiCompatibleMetrics(
&self,
emSize: FLOAT,
pixelsPerDip: FLOAT,
transform: *const DWRITE_MATRIX,
fontFaceMetrics: *mut DWRITE_FONT_METRICS
) -> HRESULT
[src]
&self,
emSize: FLOAT,
pixelsPerDip: FLOAT,
transform: *const DWRITE_MATRIX,
fontFaceMetrics: *mut DWRITE_FONT_METRICS
) -> HRESULT
pub unsafe fn GetGdiCompatibleGlyphMetrics(
&self,
enSize: FLOAT,
pixelsPerDip: FLOAT,
transform: *const DWRITE_MATRIX,
useGdiNatrual: BOOL,
glyphIndices: *const UINT16,
glyphCount: UINT32,
glyphMetrics: *mut DWRITE_GLYPH_METRICS,
isSideways: BOOL
) -> HRESULT
[src]
&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>
pub unsafe fn QueryInterface(
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
pub unsafe fn AddRef(&self) -> ULONG
[src]
pub unsafe fn Release(&self) -> ULONG
[src]
Trait Implementations
impl Deref for IDWriteFontFace
[src]
impl Interface for IDWriteFontFace
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,