[][src]Struct winapi::um::dwrite::IDWriteFontFace1

#[repr(C)]
pub struct IDWriteFontFace1 { pub lpVtbl: *const IDWriteFontFace1Vtbl, }

Fields

lpVtbl: *const IDWriteFontFace1Vtbl

Methods

impl IDWriteFontFace1[src]

pub unsafe fn GetMetrics(&self, fontFaceMetrics: *mut DWRITE_FONT_METRICS1)[src]

pub unsafe fn GetGdiCompatibleMetrics(
    &self,
    emSize: FLOAT,
    pixelsPerDip: FLOAT,
    transform: *const DWRITE_MATRIX,
    fontFaceMetrics: *mut DWRITE_FONT_METRICS1
) -> HRESULT
[src]

pub unsafe fn GetCaretMetrics(&self, caretMetrics: *mut DWRITE_CARET_METRICS)[src]

pub unsafe fn GetUnicodeRanges(
    &self,
    maxRangeCount: UINT32,
    unicodeRanges: *mut DWRITE_UNICODE_RANGE,
    actualRangeCount: *mut UINT32
) -> HRESULT
[src]

pub unsafe fn IsMonoSpacedFont(&self) -> BOOL[src]

pub unsafe fn GetDesignGlyphAdvances(
    &self,
    glyphCount: UINT32,
    glyphIndices: *const UINT16,
    glyphAdvances: *mut INT32,
    isSideways: BOOL
) -> HRESULT
[src]

pub unsafe fn GetGdiCompatibleGlyphAdvance(
    &self,
    emSize: FLOAT,
    pixelsPerDip: FLOAT,
    transform: *const DWRITE_MATRIX,
    useGdiNatural: BOOL,
    isSideways: BOOL,
    glyphCount: UINT32,
    glyphIndices: *const UINT16,
    glyphAdvances: *mut INT32
) -> HRESULT
[src]

pub unsafe fn GetKerningPairAdjustments(
    &self,
    glyphCount: UINT32,
    glyphIndices: *const UINT16,
    glyphAdvanceAdjustments: *mut INT32
) -> HRESULT
[src]

pub unsafe fn HasKerningPairs(&self) -> BOOL[src]

pub unsafe fn GetRecommendedRenderingMode(
    &self,
    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
[src]

pub unsafe fn GetVerticalGlyphVariants(
    &self,
    nominalGlyphIndices: *const UINT16,
    verticalGlyphIndices: *mut UINT16
) -> HRESULT
[src]

pub unsafe fn HasVerticalGlyphVariants(&self) -> BOOL[src]

Methods from Deref<Target = IDWriteFontFace>

pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE[src]

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

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]

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

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]

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]

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

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

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]

Trait Implementations

impl Interface for IDWriteFontFace1[src]

impl Deref for IDWriteFontFace1[src]

type Target = IDWriteFontFace

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]