[−][src]Struct winapi::um::dwrite::IDWriteFont
Fields
lpVtbl: *const IDWriteFontVtbl
Methods
impl IDWriteFont
[src]
pub unsafe fn GetFontFamily(
&self,
fontFamily: *mut *mut IDWriteFontFamily
) -> HRESULT
[src]
&self,
fontFamily: *mut *mut IDWriteFontFamily
) -> HRESULT
pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT
[src]
pub unsafe fn GetStretch(&self) -> DWRITE_FONT_STRETCH
[src]
pub unsafe fn GetStyle(&self) -> DWRITE_FONT_STYLE
[src]
pub unsafe fn IsSymbolFont(&self) -> BOOL
[src]
pub unsafe fn GetFaceNames(
&self,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]
&self,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
pub unsafe fn GetInformationalStrings(
&self,
informationalStringId: DWRITE_INFORMATIONAL_STRING_ID,
informationalStrings: *mut *mut IDWriteLocalizedStrings,
exists: *mut BOOL
) -> HRESULT
[src]
&self,
informationalStringId: DWRITE_INFORMATIONAL_STRING_ID,
informationalStrings: *mut *mut IDWriteLocalizedStrings,
exists: *mut BOOL
) -> HRESULT
pub unsafe fn GetSimulations(&self) -> DWRITE_FONT_SIMULATIONS
[src]
pub unsafe fn GetMetrics(&self, fontMetrics: *mut DWRITE_FONT_METRICS)
[src]
pub unsafe fn HasCharacter(
&self,
unicodeValue: UINT32,
exists: *mut BOOL
) -> HRESULT
[src]
&self,
unicodeValue: UINT32,
exists: *mut BOOL
) -> HRESULT
pub unsafe fn CreateFontFace(
&self,
fontFace: *mut *mut IDWriteFontFace
) -> HRESULT
[src]
&self,
fontFace: *mut *mut IDWriteFontFace
) -> 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 IDWriteFont
[src]
impl Deref for IDWriteFont
[src]
Auto Trait Implementations
impl !Send for IDWriteFont
impl !Sync for IDWriteFont
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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> TryInto 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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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,