Struct winapi::dwrite::IDWriteFontFamily [] [src]

pub struct IDWriteFontFamily {
    pub lpVtbl: *const IDWriteFontFamilyVtbl,
}

Fields

lpVtbl: *const IDWriteFontFamilyVtbl

Methods

impl IDWriteFontFamily
[src]

unsafe fn GetFamilyNames(&mut self, names: *mut *mut IDWriteLocalizedStrings) -> HRESULT

unsafe fn GetFirstMatchingFont(&mut self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, matchingFont: *mut *mut IDWriteFont) -> HRESULT

unsafe fn GetMatchingFonts(&mut self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, matchingFonts: *mut *mut IDWriteFontList) -> HRESULT

Methods from Deref<Target=IDWriteFontList>

unsafe fn GetFontCollection(&mut self, fontCollection: *mut *mut IDWriteFontCollection) -> HRESULT

unsafe fn GetFontCount(&mut self) -> UINT32

unsafe fn GetFont(&mut self, index: UINT32, font: *mut *mut IDWriteFont) -> HRESULT

Trait Implementations

impl Debug for IDWriteFontFamily
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IDWriteFontFamily
[src]

type Target = IDWriteFontList

The resulting type after dereferencing

fn deref(&self) -> &IDWriteFontList

The method called to dereference a value

impl DerefMut for IDWriteFontFamily
[src]

fn deref_mut(&mut self) -> &mut IDWriteFontList

The method called to mutably dereference a value