[−][src]Struct skia_bindings::SkTextBlob
Fields
_base: SkNVRefCnt
fBounds: SkRect
fUniqueID: u32
fCacheID: u32
Methods
impl SkTextBlob
[src]
pub unsafe fn getIntercepts(
&self,
bounds: *const SkScalar,
intervals: *mut SkScalar,
paint: *const SkPaint
) -> c_int
[src]
&self,
bounds: *const SkScalar,
intervals: *mut SkScalar,
paint: *const SkPaint
) -> c_int
pub unsafe fn MakeFromText(
text: *const c_void,
byteLength: usize,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
[src]
text: *const c_void,
byteLength: usize,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
pub unsafe fn MakeFromPosTextH(
text: *const c_void,
byteLength: usize,
xpos: *const SkScalar,
constY: SkScalar,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
[src]
text: *const c_void,
byteLength: usize,
xpos: *const SkScalar,
constY: SkScalar,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
pub unsafe fn MakeFromPosText(
text: *const c_void,
byteLength: usize,
pos: *const SkPoint,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
[src]
text: *const c_void,
byteLength: usize,
pos: *const SkPoint,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
pub unsafe fn MakeFromRSXform(
text: *const c_void,
byteLength: usize,
xform: *const SkRSXform,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
[src]
text: *const c_void,
byteLength: usize,
xform: *const SkRSXform,
font: *const SkFont,
encoding: SkTextEncoding
) -> sk_sp<SkTextBlob>
pub unsafe fn serialize(
&self,
procs: *const SkSerialProcs,
memory: *mut c_void,
memory_size: usize
) -> usize
[src]
&self,
procs: *const SkSerialProcs,
memory: *mut c_void,
memory_size: usize
) -> usize
pub unsafe fn serialize1(&self, procs: *const SkSerialProcs) -> sk_sp<SkData>
[src]
pub unsafe fn Deserialize(
data: *const c_void,
size: usize,
procs: *const SkDeserialProcs
) -> sk_sp<SkTextBlob>
[src]
data: *const c_void,
size: usize,
procs: *const SkDeserialProcs
) -> sk_sp<SkTextBlob>
Auto Trait Implementations
impl Unpin for SkTextBlob
impl Sync for SkTextBlob
impl Send for SkTextBlob
impl UnwindSafe for SkTextBlob
impl RefUnwindSafe for SkTextBlob
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,