Struct skia_bindings::SkPathBuilder
source · #[repr(C)]pub struct SkPathBuilder {
pub fPts: SkPathRef_PointsArray,
pub fVerbs: SkPathRef_VerbsArray,
pub fConicWeights: SkPathRef_ConicWeightsArray,
pub fFillType: SkPathFillType,
pub fIsVolatile: bool,
pub fSegmentMask: c_uint,
pub fLastMovePoint: SkPoint,
pub fLastMoveIndex: c_int,
pub fNeedsMoveVerb: bool,
pub fIsA: SkPathBuilder_IsA,
pub fIsAStart: c_int,
pub fIsACCW: bool,
}
Fields§
§fPts: SkPathRef_PointsArray
§fVerbs: SkPathRef_VerbsArray
§fConicWeights: SkPathRef_ConicWeightsArray
§fFillType: SkPathFillType
§fIsVolatile: bool
§fSegmentMask: c_uint
§fLastMovePoint: SkPoint
§fLastMoveIndex: c_int
§fNeedsMoveVerb: bool
§fIsA: SkPathBuilder_IsA
§fIsAStart: c_int
§fIsACCW: bool
Implementations§
source§impl SkPathBuilder
impl SkPathBuilder
pub unsafe fn computeBounds(&self) -> SkRect
pub unsafe fn snapshot(&self) -> SkPath
pub unsafe fn detach(&mut self) -> SkPath
pub unsafe fn reset(&mut self) -> *mut SkPathBuilder
pub unsafe fn moveTo(&mut self, pt: SkPoint) -> *mut SkPathBuilder
pub unsafe fn lineTo(&mut self, pt: SkPoint) -> *mut SkPathBuilder
pub unsafe fn quadTo( &mut self, pt1: SkPoint, pt2: SkPoint ) -> *mut SkPathBuilder
pub unsafe fn conicTo( &mut self, pt1: SkPoint, pt2: SkPoint, w: SkScalar ) -> *mut SkPathBuilder
pub unsafe fn cubicTo( &mut self, pt1: SkPoint, pt2: SkPoint, pt3: SkPoint ) -> *mut SkPathBuilder
pub unsafe fn close(&mut self) -> *mut SkPathBuilder
pub unsafe fn polylineTo( &mut self, pts: *const SkPoint, count: c_int ) -> *mut SkPathBuilder
pub unsafe fn rLineTo(&mut self, pt: SkPoint) -> *mut SkPathBuilder
pub unsafe fn rQuadTo( &mut self, pt1: SkPoint, pt2: SkPoint ) -> *mut SkPathBuilder
pub unsafe fn rConicTo( &mut self, p1: SkPoint, p2: SkPoint, w: SkScalar ) -> *mut SkPathBuilder
pub unsafe fn rCubicTo( &mut self, pt1: SkPoint, pt2: SkPoint, pt3: SkPoint ) -> *mut SkPathBuilder
pub unsafe fn arcTo( &mut self, oval: *const SkRect, startAngleDeg: SkScalar, sweepAngleDeg: SkScalar, forceMoveTo: bool ) -> *mut SkPathBuilder
pub unsafe fn arcTo1( &mut self, p1: SkPoint, p2: SkPoint, radius: SkScalar ) -> *mut SkPathBuilder
pub unsafe fn arcTo2( &mut self, r: SkPoint, xAxisRotate: SkScalar, largeArc: SkPathBuilder_ArcSize, sweep: SkPathDirection, xy: SkPoint ) -> *mut SkPathBuilder
pub unsafe fn addArc( &mut self, oval: *const SkRect, startAngleDeg: SkScalar, sweepAngleDeg: SkScalar ) -> *mut SkPathBuilder
pub unsafe fn addRect( &mut self, arg1: *const SkRect, arg2: SkPathDirection, startIndex: c_uint ) -> *mut SkPathBuilder
pub unsafe fn addOval( &mut self, arg1: *const SkRect, arg2: SkPathDirection, startIndex: c_uint ) -> *mut SkPathBuilder
pub unsafe fn addRRect( &mut self, arg1: *const SkRRect, arg2: SkPathDirection, startIndex: c_uint ) -> *mut SkPathBuilder
pub unsafe fn addCircle( &mut self, center_x: SkScalar, center_y: SkScalar, radius: SkScalar, dir: SkPathDirection ) -> *mut SkPathBuilder
pub unsafe fn addPolygon( &mut self, pts: *const SkPoint, count: c_int, isClosed: bool ) -> *mut SkPathBuilder
pub unsafe fn addPath(&mut self, arg1: *const SkPath) -> *mut SkPathBuilder
pub unsafe fn incReserve(&mut self, extraPtCount: c_int, extraVerbCount: c_int)
pub unsafe fn offset( &mut self, dx: SkScalar, dy: SkScalar ) -> *mut SkPathBuilder
pub unsafe fn new() -> Self
pub unsafe fn new1(arg1: SkPathFillType) -> Self
pub unsafe fn new2(arg1: *const SkPath) -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SkPathBuilder
impl Send for SkPathBuilder
impl Sync for SkPathBuilder
impl Unpin for SkPathBuilder
impl UnwindSafe for SkPathBuilder
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