#[repr(C)]pub struct IDWriteFont2 {
pub lpVtbl: *const IDWriteFont2Vtbl,
}
Fields§
§lpVtbl: *const IDWriteFont2Vtbl
Implementations§
Source§impl IDWriteFont2
impl IDWriteFont2
pub unsafe fn IsColorFont(&self) -> BOOL
Methods from Deref<Target = 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 IDWriteFont2
impl Deref for IDWriteFont2
Source§type Target = IDWriteFont1
type Target = IDWriteFont1
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteFont1
fn deref(&self) -> &IDWriteFont1
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteFont2
impl RefUnwindSafe for IDWriteFont2
impl !Send for IDWriteFont2
impl !Sync for IDWriteFont2
impl Unpin for IDWriteFont2
impl UnwindSafe for IDWriteFont2
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