Struct winapi::um::dwrite_2::IDWriteFont2
source · #[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
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for IDWriteFont2
impl Deref for IDWriteFont2
§type Target = IDWriteFont1
type Target = IDWriteFont1
The resulting type after dereferencing.
source§fn deref(&self) -> &IDWriteFont1
fn deref(&self) -> &IDWriteFont1
Dereferences the value.