[][src]Struct winapi::um::dwrite_3::IDWriteFontResource

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

Fields

lpVtbl: *const IDWriteFontResourceVtbl

Methods

impl IDWriteFontResource[src]

pub unsafe fn GetFontFile(&self, fontFile: *mut *mut IDWriteFontFile) -> HRESULT[src]

pub unsafe fn GetFontFaceIndex(&self) -> UINT32[src]

pub unsafe fn GetFontAxisCount(&self) -> UINT32[src]

pub unsafe fn GetDefaultFontAxisValues(
    &self,
    values: *const DWRITE_FONT_AXIS_VALUE,
    numValues: UINT32
) -> HRESULT
[src]

pub unsafe fn GetFontAxisRanges(
    &self,
    ranges: *const DWRITE_FONT_AXIS_RANGE,
    numRanges: UINT32
) -> HRESULT
[src]

pub unsafe fn GetFontAxisAttributes(
    &self,
    axis: UINT32
) -> DWRITE_FONT_AXIS_ATTRIBUTES
[src]

pub unsafe fn GetAxisNames(
    &self,
    axis: UINT32,
    names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]

pub unsafe fn GetAxisValueNameCount(&self, axis: UINT32) -> UINT32[src]

pub unsafe fn GetAxisValueNames(
    &self,
    axis: UINT32,
    axisValue: UINT32,
    axisRange: *mut DWRITE_FONT_AXIS_RANGE,
    names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]

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

pub unsafe fn CreateFontFace(
    &self,
    simulations: DWRITE_FONT_SIMULATIONS,
    axisValues: *const DWRITE_FONT_AXIS_VALUE,
    numValues: UINT32,
    fontFace: *mut *mut IDWriteFontFace5
) -> HRESULT
[src]

pub unsafe fn CreateFontFaceReference(
    &self,
    simulations: DWRITE_FONT_SIMULATIONS,
    axisValues: *const DWRITE_FONT_AXIS_VALUE,
    numValues: UINT32,
    reference: *mut *mut IDWriteFontFaceReference1
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

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

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IDWriteFontResource[src]

impl Deref for IDWriteFontResource[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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