#[repr(C)]pub struct SkPathMeasure {
pub fIter: SkContourMeasureIter,
pub fContour: sk_sp<SkContourMeasure>,
}Fields§
§fIter: SkContourMeasureIter§fContour: sk_sp<SkContourMeasure>Implementations§
Source§impl SkPathMeasure
impl SkPathMeasure
pub unsafe fn setPath(&mut self, arg1: *const SkPath, forceClosed: bool)
pub unsafe fn getLength(&mut self) -> SkScalar
pub unsafe fn getPosTan( &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
pub unsafe fn getSegment( &mut self, startD: SkScalar, stopD: SkScalar, dst: *mut SkPathBuilder, startWithMoveTo: bool, ) -> bool
pub unsafe fn isClosed(&mut self) -> bool
pub unsafe fn nextContour(&mut self) -> bool
pub unsafe fn new() -> Self
pub unsafe fn new1( path: *const SkPath, forceClosed: bool, resScale: SkScalar, ) -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkPathMeasure
impl !RefUnwindSafe for SkPathMeasure
impl !Send for SkPathMeasure
impl !Sync for SkPathMeasure
impl Unpin for SkPathMeasure
impl UnsafeUnpin for SkPathMeasure
impl UnwindSafe for SkPathMeasure
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