[][src]Struct skia_bindings::SkPathMeasure

#[repr(C)]
pub struct SkPathMeasure {
    pub __bindgen_padding_0: u64,
    pub fIter: SkContourMeasureIter,
    pub fContour: sk_sp<SkContourMeasure>,
}

Fields

__bindgen_padding_0: u64fIter: SkContourMeasureIterfContour: 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]

pub unsafe fn getMatrix(
    &mut self,
    distance: SkScalar,
    matrix: *mut SkMatrix,
    flags: SkPathMeasure_MatrixFlags
) -> bool
[src]

pub unsafe fn getSegment(
    &mut self,
    startD: SkScalar,
    stopD: SkScalar,
    dst: *mut SkPath,
    startWithMoveTo: bool
) -> bool
[src]

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]

pub unsafe fn destruct(&mut self)[src]

Trait Implementations

impl Debug for SkPathMeasure[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]