[−][src]Struct skia_bindings::SkFontMgr
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]
&self,
familyName: *const c_char
) -> *mut SkFontStyleSet
pub unsafe fn matchFamilyStyle(
&self,
familyName: *const c_char,
arg1: *const SkFontStyle
) -> *mut SkTypeface
[src]
&self,
familyName: *const c_char,
arg1: *const SkFontStyle
) -> *mut SkTypeface
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]
&self,
familyName: *const c_char,
arg1: *const SkFontStyle,
bcp47: *mut *const c_char,
bcp47Count: c_int,
character: SkUnichar
) -> *mut SkTypeface
pub unsafe fn matchFaceStyle(
&self,
arg1: *const SkTypeface,
arg2: *const SkFontStyle
) -> *mut SkTypeface
[src]
&self,
arg1: *const SkTypeface,
arg2: *const SkFontStyle
) -> *mut SkTypeface
pub unsafe fn makeFromData(
&self,
arg1: sk_sp<SkData>,
ttcIndex: c_int
) -> sk_sp<SkTypeface>
[src]
&self,
arg1: sk_sp<SkData>,
ttcIndex: c_int
) -> sk_sp<SkTypeface>
pub unsafe fn makeFromStream(
&self,
arg1: u64,
ttcIndex: c_int
) -> sk_sp<SkTypeface>
[src]
&self,
arg1: u64,
ttcIndex: c_int
) -> sk_sp<SkTypeface>
pub unsafe fn makeFromStream1(
&self,
arg1: u64,
arg2: *const SkFontArguments
) -> sk_sp<SkTypeface>
[src]
&self,
arg1: u64,
arg2: *const SkFontArguments
) -> sk_sp<SkTypeface>
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]
&self,
path: *const c_char,
ttcIndex: c_int
) -> sk_sp<SkTypeface>
pub unsafe fn legacyMakeTypeface(
&self,
familyName: *const c_char,
style: SkFontStyle
) -> sk_sp<SkTypeface>
[src]
&self,
familyName: *const c_char,
style: SkFontStyle
) -> sk_sp<SkTypeface>
pub unsafe fn RefDefault() -> sk_sp<SkFontMgr>
[src]
Auto Trait Implementations
impl !Send for SkFontMgr
impl Unpin for SkFontMgr
impl !Sync for SkFontMgr
impl RefUnwindSafe for SkFontMgr
impl UnwindSafe for SkFontMgr
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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<U> 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,