[][src]Struct skia_bindings::SkFontMgr

#[repr(C)]
pub struct SkFontMgr {
    pub _base: SkRefCnt,
}

Fields

_base: SkRefCnt

Methods

impl SkFontMgr[src]

pub unsafe fn countFamilies(&self) -> c_int[src]

pub unsafe fn getFamilyName(&self, index: c_int, familyName: *mut SkString)[src]

pub unsafe fn createStyleSet(&self, index: c_int) -> *mut SkFontStyleSet[src]

pub unsafe fn matchFamily(
    &self,
    familyName: *const c_char
) -> *mut SkFontStyleSet
[src]

pub unsafe fn matchFamilyStyle(
    &self,
    familyName: *const c_char,
    arg1: *const SkFontStyle
) -> *mut SkTypeface
[src]

pub unsafe fn matchFamilyStyleCharacter(
    &self,
    familyName: *const c_char,
    arg1: *const SkFontStyle,
    bcp47: *mut *const c_char,
    bcp47Count: c_int,
    character: SkUnichar
) -> *mut SkTypeface
[src]

pub unsafe fn matchFaceStyle(
    &self,
    arg1: *const SkTypeface,
    arg2: *const SkFontStyle
) -> *mut SkTypeface
[src]

pub unsafe fn makeFromData(
    &self,
    arg1: sk_sp<SkData>,
    ttcIndex: c_int
) -> sk_sp<SkTypeface>
[src]

pub unsafe fn makeFromStream(
    &self,
    arg1: u64,
    ttcIndex: c_int
) -> sk_sp<SkTypeface>
[src]

pub unsafe fn makeFromStream1(
    &self,
    arg1: u64,
    arg2: *const SkFontArguments
) -> sk_sp<SkTypeface>
[src]

pub unsafe fn makeFromFontData(&self, arg1: u8) -> sk_sp<SkTypeface>[src]

pub unsafe fn makeFromFile(
    &self,
    path: *const c_char,
    ttcIndex: c_int
) -> sk_sp<SkTypeface>
[src]

pub unsafe fn legacyMakeTypeface(
    &self,
    familyName: *const c_char,
    style: SkFontStyle
) -> sk_sp<SkTypeface>
[src]

pub unsafe fn RefDefault() -> sk_sp<SkFontMgr>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]