[−][src]Struct skia_bindings::SkPathRef
Fields
_base: SkNVRefCnt
fBounds: SkRect
fPoints: *mut SkPoint
fVerbs: *mut u8
fVerbCnt: c_int
fPointCnt: c_int
fFreeSpace: usize
fConicWeights: SkTDArray<SkScalar>
fGenerationID: u32
fGenIDChangeListenersMutex: SkMutex
fGenIDChangeListeners: SkTDArray<*mut SkPathRef_GenIDChangeListener>
fBoundsIsDirty: u8
fIsFinite: bool
fIsOval: bool
fIsRRect: bool
fRRectOrOvalIsCCW: bool
fRRectOrOvalStartIdx: u8
fSegmentMask: 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]
dst: *mut sk_sp<SkPathRef>,
src: *const SkPathRef,
matrix: *const SkMatrix
)
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]
&self,
ending: *const SkPathRef,
weight: SkScalar,
out: *mut SkPathRef
)
pub unsafe fn genID(&self) -> u32
[src]
pub unsafe fn addGenIDChangeListener(
&mut self,
arg1: sk_sp<SkPathRef_GenIDChangeListener>
)
[src]
&mut self,
arg1: sk_sp<SkPathRef_GenIDChangeListener>
)
pub unsafe fn isValid(&self) -> bool
[src]
pub unsafe fn destruct(&mut self)
[src]
Auto Trait Implementations
impl !Send for SkPathRef
impl Unpin for SkPathRef
impl !Sync for SkPathRef
impl !RefUnwindSafe for SkPathRef
impl UnwindSafe for SkPathRef
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,