[−][src]Struct skia_bindings::SkPathMeasure
Fields
fIter: SkContourMeasureIter
fContour: sk_sp<SkContourMeasure>
Methods
impl SkPathMeasure
[src]
pub unsafe fn setPath(&mut self, arg1: *const SkPath, forceClosed: bool)
[src]
pub unsafe fn getLength(&mut self) -> SkScalar
[src]
pub unsafe fn getPosTan(
&mut self,
distance: SkScalar,
position: *mut SkPoint,
tangent: *mut SkVector
) -> bool
[src]
&mut self,
distance: SkScalar,
position: *mut SkPoint,
tangent: *mut SkVector
) -> bool
pub unsafe fn getMatrix(
&mut self,
distance: SkScalar,
matrix: *mut SkMatrix,
flags: SkPathMeasure_MatrixFlags
) -> bool
[src]
&mut self,
distance: SkScalar,
matrix: *mut SkMatrix,
flags: SkPathMeasure_MatrixFlags
) -> bool
pub unsafe fn getSegment(
&mut self,
startD: SkScalar,
stopD: SkScalar,
dst: *mut SkPath,
startWithMoveTo: bool
) -> bool
[src]
&mut self,
startD: SkScalar,
stopD: SkScalar,
dst: *mut SkPath,
startWithMoveTo: bool
) -> bool
pub unsafe fn isClosed(&mut self) -> bool
[src]
pub unsafe fn nextContour(&mut self) -> bool
[src]
pub unsafe fn new() -> Self
[src]
pub unsafe fn new1(
path: *const SkPath,
forceClosed: bool,
resScale: SkScalar
) -> Self
[src]
path: *const SkPath,
forceClosed: bool,
resScale: SkScalar
) -> Self
pub unsafe fn destruct(&mut self)
[src]
Auto Trait Implementations
impl !Send for SkPathMeasure
impl Unpin for SkPathMeasure
impl !Sync for SkPathMeasure
impl !RefUnwindSafe for SkPathMeasure
impl !UnwindSafe for SkPathMeasure
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,