#[repr(C)]pub struct IDWriteFont1 {
pub lpVtbl: *const IDWriteFont1Vtbl,
}
Fields§
§lpVtbl: *const IDWriteFont1Vtbl
Implementations§
Source§impl IDWriteFont1
impl IDWriteFont1
pub unsafe fn GetMetrics(&self, fontMetrics: *mut DWRITE_FONT_METRICS1)
pub unsafe fn GetPanose(&self, panose: *mut DWRITE_PANOSE)
pub unsafe fn GetUnicodeRanges( &self, maxRangeCount: UINT32, unicodeRanges: *mut DWRITE_UNICODE_RANGE, actualRangeCount: *mut UINT32, ) -> HRESULT
pub unsafe fn IsMonospacedFont(&self) -> BOOL
Methods from Deref<Target = IDWriteFont>§
pub unsafe fn GetFontFamily( &self, fontFamily: *mut *mut IDWriteFontFamily, ) -> HRESULT
pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT
pub unsafe fn GetStretch(&self) -> DWRITE_FONT_STRETCH
pub unsafe fn GetStyle(&self) -> DWRITE_FONT_STYLE
pub unsafe fn IsSymbolFont(&self) -> BOOL
pub unsafe fn GetFaceNames( &self, names: *mut *mut IDWriteLocalizedStrings, ) -> HRESULT
pub unsafe fn GetInformationalStrings( &self, informationalStringId: DWRITE_INFORMATIONAL_STRING_ID, informationalStrings: *mut *mut IDWriteLocalizedStrings, exists: *mut BOOL, ) -> HRESULT
pub unsafe fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS
pub unsafe fn GetMetrics(&self, fontMetrics: *mut DWRITE_FONT_METRICS)
pub unsafe fn HasCharacter( &self, unicodeValue: UINT32, exists: *mut BOOL, ) -> HRESULT
pub unsafe fn CreateFontFace( &self, fontFace: *mut *mut IDWriteFontFace, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteFont1
impl Deref for IDWriteFont1
Source§type Target = IDWriteFont
type Target = IDWriteFont
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteFont
fn deref(&self) -> &IDWriteFont
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteFont1
impl RefUnwindSafe for IDWriteFont1
impl !Send for IDWriteFont1
impl !Sync for IDWriteFont1
impl Unpin for IDWriteFont1
impl UnwindSafe for IDWriteFont1
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