[−][src]Struct winapi::um::dwrite_3::IDWriteFontResource
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]
&self,
values: *const DWRITE_FONT_AXIS_VALUE,
numValues: UINT32
) -> HRESULT
pub unsafe fn GetFontAxisRanges(
&self,
ranges: *const DWRITE_FONT_AXIS_RANGE,
numRanges: UINT32
) -> HRESULT
[src]
&self,
ranges: *const DWRITE_FONT_AXIS_RANGE,
numRanges: UINT32
) -> HRESULT
pub unsafe fn GetFontAxisAttributes(
&self,
axis: UINT32
) -> DWRITE_FONT_AXIS_ATTRIBUTES
[src]
&self,
axis: UINT32
) -> DWRITE_FONT_AXIS_ATTRIBUTES
pub unsafe fn GetAxisNames(
&self,
axis: UINT32,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]
&self,
axis: UINT32,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
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]
&self,
axis: UINT32,
axisValue: UINT32,
axisRange: *mut DWRITE_FONT_AXIS_RANGE,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
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]
&self,
simulations: DWRITE_FONT_SIMULATIONS,
axisValues: *const DWRITE_FONT_AXIS_VALUE,
numValues: UINT32,
fontFace: *mut *mut IDWriteFontFace5
) -> HRESULT
pub unsafe fn CreateFontFaceReference(
&self,
simulations: DWRITE_FONT_SIMULATIONS,
axisValues: *const DWRITE_FONT_AXIS_VALUE,
numValues: UINT32,
reference: *mut *mut IDWriteFontFaceReference1
) -> HRESULT
[src]
&self,
simulations: DWRITE_FONT_SIMULATIONS,
axisValues: *const DWRITE_FONT_AXIS_VALUE,
numValues: UINT32,
reference: *mut *mut IDWriteFontFaceReference1
) -> 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 Interface for IDWriteFontResource
[src]
impl Deref for IDWriteFontResource
[src]
Auto Trait Implementations
impl Unpin for IDWriteFontResource
impl !Send for IDWriteFontResource
impl !Sync for IDWriteFontResource
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,