#[repr(C)]pub struct IDWriteFontResource {
pub lpVtbl: *const IDWriteFontResourceVtbl,
}
Fields§
§lpVtbl: *const IDWriteFontResourceVtbl
Implementations§
Source§impl IDWriteFontResource
impl IDWriteFontResource
pub unsafe fn GetFontFile(&self, fontFile: *mut *mut IDWriteFontFile) -> HRESULT
pub unsafe fn GetFontFaceIndex(&self) -> UINT32
pub unsafe fn GetFontAxisCount(&self) -> UINT32
pub unsafe fn GetDefaultFontAxisValues( &self, values: *const DWRITE_FONT_AXIS_VALUE, numValues: UINT32, ) -> HRESULT
pub unsafe fn GetFontAxisRanges( &self, ranges: *const DWRITE_FONT_AXIS_RANGE, numRanges: UINT32, ) -> HRESULT
pub unsafe fn GetFontAxisAttributes( &self, axis: UINT32, ) -> DWRITE_FONT_AXIS_ATTRIBUTES
pub unsafe fn GetAxisNames( &self, axis: UINT32, names: *mut *mut IDWriteLocalizedStrings, ) -> HRESULT
pub unsafe fn GetAxisValueNameCount(&self, axis: UINT32) -> UINT32
pub unsafe fn GetAxisValueNames( &self, axis: UINT32, axisValue: UINT32, axisRange: *mut DWRITE_FONT_AXIS_RANGE, names: *mut *mut IDWriteLocalizedStrings, ) -> HRESULT
pub unsafe fn HasVariations(&self) -> BOOL
pub unsafe fn CreateFontFace( &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
Trait Implementations§
Source§impl Deref for IDWriteFontResource
impl Deref for IDWriteFontResource
Auto Trait Implementations§
impl Freeze for IDWriteFontResource
impl RefUnwindSafe for IDWriteFontResource
impl !Send for IDWriteFontResource
impl !Sync for IDWriteFontResource
impl Unpin for IDWriteFontResource
impl UnwindSafe for IDWriteFontResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more