Struct skia_bindings::SkCustomTypefaceBuilder
source · #[repr(C)]pub struct SkCustomTypefaceBuilder {
pub fGlyphRecs: [u64; 3],
pub fMetrics: SkFontMetrics,
pub fStyle: SkFontStyle,
}
Fields§
§fGlyphRecs: [u64; 3]
§fMetrics: SkFontMetrics
§fStyle: SkFontStyle
Implementations§
source§impl SkCustomTypefaceBuilder
impl SkCustomTypefaceBuilder
pub unsafe fn setGlyph( &mut self, arg1: SkGlyphID, advance: f32, arg2: *const SkPath )
pub unsafe fn setMetrics(&mut self, fm: *const SkFontMetrics, scale: f32)
pub unsafe fn setFontStyle(&mut self, arg1: SkFontStyle)
pub unsafe fn detach(&mut self) -> sk_sp<SkTypeface>
pub unsafe fn MakeFromStream( arg1: u64, arg2: *const SkFontArguments ) -> sk_sp<SkTypeface>
pub unsafe fn new() -> Self
Auto Trait Implementations§
impl RefUnwindSafe for SkCustomTypefaceBuilder
impl Send for SkCustomTypefaceBuilder
impl Sync for SkCustomTypefaceBuilder
impl Unpin for SkCustomTypefaceBuilder
impl UnwindSafe for SkCustomTypefaceBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more