[][src]Struct skia_bindings::SkPathRef

#[repr(C)]
pub struct SkPathRef {
    pub _base: SkNVRefCnt,
    pub fBounds: SkRect,
    pub fPoints: *mut SkPoint,
    pub fVerbs: *mut u8,
    pub fVerbCnt: c_int,
    pub fPointCnt: c_int,
    pub fFreeSpace: usize,
    pub fConicWeights: SkTDArray<SkScalar>,
    pub fGenerationID: u32,
    pub fGenIDChangeListenersMutex: SkMutex,
    pub fGenIDChangeListeners: SkTDArray<*mut SkPathRef_GenIDChangeListener>,
    pub fBoundsIsDirty: u8,
    pub fIsFinite: bool,
    pub fIsOval: bool,
    pub fIsRRect: bool,
    pub fRRectOrOvalIsCCW: bool,
    pub fRRectOrOvalStartIdx: u8,
    pub fSegmentMask: u8,
}

Fields

_base: SkNVRefCntfBounds: SkRectfPoints: *mut SkPointfVerbs: *mut u8fVerbCnt: c_intfPointCnt: c_intfFreeSpace: usizefConicWeights: SkTDArray<SkScalar>fGenerationID: u32fGenIDChangeListenersMutex: SkMutexfGenIDChangeListeners: SkTDArray<*mut SkPathRef_GenIDChangeListener>fBoundsIsDirty: u8fIsFinite: boolfIsOval: boolfIsRRect: boolfRRectOrOvalIsCCW: boolfRRectOrOvalStartIdx: u8fSegmentMask: u8

Methods

impl SkPathRef[src]

pub unsafe fn CreateEmpty() -> *mut SkPathRef[src]

pub unsafe fn getRRect(&self) -> SkRRect[src]

pub unsafe fn CreateTransformedCopy(
    dst: *mut sk_sp<SkPathRef>,
    src: *const SkPathRef,
    matrix: *const SkMatrix
)
[src]

pub unsafe fn CreateFromBuffer(buffer: *mut SkRBuffer) -> *mut SkPathRef[src]

pub unsafe fn Rewind(pathRef: *mut sk_sp<SkPathRef>)[src]

pub unsafe fn writeToBuffer(&self, buffer: *mut SkWBuffer)[src]

pub unsafe fn writeSize(&self) -> u32[src]

pub unsafe fn interpolate(
    &self,
    ending: *const SkPathRef,
    weight: SkScalar,
    out: *mut SkPathRef
)
[src]

pub unsafe fn genID(&self) -> u32[src]

pub unsafe fn addGenIDChangeListener(
    &mut self,
    arg1: sk_sp<SkPathRef_GenIDChangeListener>
)
[src]

pub unsafe fn isValid(&self) -> bool[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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]