|
| PreCachedPath () |
|
| PreCachedPath (const SkPath &path) |
|
| SkPath () |
|
| SkPath (const SkPath &path) |
|
| ~SkPath () |
|
SkPath | snapshot () const |
|
SkPath | detach () |
|
SkPath & | operator= (const SkPath &path) |
|
bool | isInterpolatable (const SkPath &compare) const |
|
bool | interpolate (const SkPath &ending, SkScalar weight, SkPath *out) const |
|
SkPathFillType | getFillType () const |
|
void | setFillType (SkPathFillType ft) |
|
bool | isInverseFillType () const |
|
void | toggleInverseFillType () |
|
bool | isConvex () const |
|
bool | isOval (SkRect *bounds) const |
|
bool | isRRect (SkRRect *rrect) const |
|
bool | isArc (SkArc *arc) const |
|
SkPath & | reset () |
|
SkPath & | rewind () |
|
bool | isEmpty () const |
|
bool | isLastContourClosed () const |
|
bool | isFinite () const |
|
bool | isVolatile () const |
|
SkPath & | setIsVolatile (bool isVolatile) |
|
bool | isLine (SkPoint line[2]) const |
|
int | countPoints () const |
|
SkPoint | getPoint (int index) const |
|
int | getPoints (SkPoint points[], int max) const |
|
int | countVerbs () const |
|
int | getVerbs (uint8_t verbs[], int max) const |
|
size_t | approximateBytesUsed () const |
|
void | swap (SkPath &other) |
|
const SkRect & | getBounds () const |
|
void | updateBoundsCache () const |
|
SkRect | computeTightBounds () const |
|
bool | conservativelyContainsRect (const SkRect &rect) const |
|
void | incReserve (int extraPtCount, int extraVerbCount=0, int extraConicCount=0) |
|
SkPath & | moveTo (SkScalar x, SkScalar y) |
|
SkPath & | moveTo (const SkPoint &p) |
|
SkPath & | rMoveTo (SkScalar dx, SkScalar dy) |
|
SkPath & | lineTo (SkScalar x, SkScalar y) |
|
SkPath & | lineTo (const SkPoint &p) |
|
SkPath & | rLineTo (SkScalar dx, SkScalar dy) |
|
SkPath & | quadTo (SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) |
|
SkPath & | quadTo (const SkPoint &p1, const SkPoint &p2) |
|
SkPath & | rQuadTo (SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2) |
|
SkPath & | conicTo (SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) |
|
SkPath & | conicTo (const SkPoint &p1, const SkPoint &p2, SkScalar w) |
|
SkPath & | rConicTo (SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, SkScalar w) |
|
SkPath & | cubicTo (SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3) |
|
SkPath & | cubicTo (const SkPoint &p1, const SkPoint &p2, const SkPoint &p3) |
|
SkPath & | rCubicTo (SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, SkScalar dx3, SkScalar dy3) |
|
SkPath & | arcTo (const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo) |
|
SkPath & | arcTo (SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius) |
|
SkPath & | arcTo (const SkPoint p1, const SkPoint p2, SkScalar radius) |
|
SkPath & | arcTo (SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep, SkScalar x, SkScalar y) |
|
SkPath & | arcTo (const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep, const SkPoint xy) |
|
SkPath & | rArcTo (SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep, SkScalar dx, SkScalar dy) |
|
SkPath & | close () |
|
bool | isRect (SkRect *rect, bool *isClosed=nullptr, SkPathDirection *direction=nullptr) const |
|
SkPath & | addRect (const SkRect &rect, SkPathDirection dir, unsigned start) |
|
SkPath & | addRect (const SkRect &rect, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addRect (SkScalar left, SkScalar top, SkScalar right, SkScalar bottom, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addOval (const SkRect &oval, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addOval (const SkRect &oval, SkPathDirection dir, unsigned start) |
|
SkPath & | addOpenOval (const SkRect &oval, SkPathDirection dir, unsigned start) |
|
SkPath & | addCircle (SkScalar x, SkScalar y, SkScalar radius, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addArc (const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle) |
|
SkPath & | addRoundRect (const SkRect &rect, SkScalar rx, SkScalar ry, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addRoundRect (const SkRect &rect, const SkScalar radii[], SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addRRect (const SkRRect &rrect, SkPathDirection dir=SkPathDirection::kCW) |
|
SkPath & | addRRect (const SkRRect &rrect, SkPathDirection dir, unsigned start) |
|
SkPath & | addPoly (const SkPoint pts[], int count, bool close) |
|
SkPath & | addPoly (const std::initializer_list< SkPoint > &list, bool close) |
|
SkPath & | addPath (const SkPath &src, SkScalar dx, SkScalar dy, AddPathMode mode=kAppend_AddPathMode) |
|
SkPath & | addPath (const SkPath &src, AddPathMode mode=kAppend_AddPathMode) |
|
SkPath & | addPath (const SkPath &src, const SkMatrix &matrix, AddPathMode mode=kAppend_AddPathMode) |
|
SkPath & | reverseAddPath (const SkPath &src) |
|
void | offset (SkScalar dx, SkScalar dy, SkPath *dst) const |
|
SkPath & | offset (SkScalar dx, SkScalar dy) |
|
void | transform (const SkMatrix &matrix, SkPath *dst, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const |
|
SkPath & | transform (const SkMatrix &matrix, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) |
|
SkPath | makeTransform (const SkMatrix &m, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const |
|
SkPath | makeScale (SkScalar sx, SkScalar sy) |
|
bool | getLastPt (SkPoint *lastPt) const |
|
void | setLastPt (SkScalar x, SkScalar y) |
|
void | setLastPt (const SkPoint &p) |
|
uint32_t | getSegmentMasks () const |
|
bool | contains (SkScalar x, SkScalar y) const |
|
void | dump (SkWStream *stream, bool dumpAsHex) const |
|
void | dump () const |
|
void | dumpHex () const |
|
void | dumpArrays (SkWStream *stream, bool dumpAsHex) const |
|
void | dumpArrays () const |
|
size_t | writeToMemory (void *buffer) const |
|
sk_sp< SkData > | serialize () const |
|
size_t | readFromMemory (const void *buffer, size_t length) |
|
uint32_t | getGenerationID () const |
|
bool | isValid () const |
|
|
enum | ArcSize { kSmall_ArcSize
, kLarge_ArcSize
} |
|
enum | AddPathMode { kAppend_AddPathMode
, kExtend_AddPathMode
} |
|
enum | SegmentMask { kLine_SegmentMask = kLine_SkPathSegmentMask
, kQuad_SegmentMask = kQuad_SkPathSegmentMask
, kConic_SegmentMask = kConic_SkPathSegmentMask
, kCubic_SegmentMask = kCubic_SkPathSegmentMask
} |
|
enum | Verb {
kMove_Verb = static_cast<int>(SkPathVerb::kMove)
, kLine_Verb = static_cast<int>(SkPathVerb::kLine)
, kQuad_Verb = static_cast<int>(SkPathVerb::kQuad)
, kConic_Verb = static_cast<int>(SkPathVerb::kConic)
,
kCubic_Verb = static_cast<int>(SkPathVerb::kCubic)
, kClose_Verb = static_cast<int>(SkPathVerb::kClose)
, kDone_Verb = kClose_Verb + 1
} |
|
using | sk_is_trivially_relocatable = std::true_type |
|
static SkPath | Make (const SkPoint[], int pointCount, const uint8_t[], int verbCount, const SkScalar[], int conicWeightCount, SkPathFillType, bool isVolatile=false) |
|
static SkPath | Rect (const SkRect &, SkPathDirection=SkPathDirection::kCW, unsigned startIndex=0) |
|
static SkPath | Oval (const SkRect &, SkPathDirection=SkPathDirection::kCW) |
|
static SkPath | Oval (const SkRect &, SkPathDirection, unsigned startIndex) |
|
static SkPath | Circle (SkScalar center_x, SkScalar center_y, SkScalar radius, SkPathDirection dir=SkPathDirection::kCW) |
|
static SkPath | RRect (const SkRRect &, SkPathDirection dir=SkPathDirection::kCW) |
|
static SkPath | RRect (const SkRRect &, SkPathDirection, unsigned startIndex) |
|
static SkPath | RRect (const SkRect &bounds, SkScalar rx, SkScalar ry, SkPathDirection dir=SkPathDirection::kCW) |
|
static SkPath | Polygon (const SkPoint pts[], int count, bool isClosed, SkPathFillType=SkPathFillType::kWinding, bool isVolatile=false) |
|
static SkPath | Polygon (const std::initializer_list< SkPoint > &list, bool isClosed, SkPathFillType fillType=SkPathFillType::kWinding, bool isVolatile=false) |
|
static SkPath | Line (const SkPoint a, const SkPoint b) |
|
static bool | IsLineDegenerate (const SkPoint &p1, const SkPoint &p2, bool exact) |
|
static bool | IsQuadDegenerate (const SkPoint &p1, const SkPoint &p2, const SkPoint &p3, bool exact) |
|
static bool | IsCubicDegenerate (const SkPoint &p1, const SkPoint &p2, const SkPoint &p3, const SkPoint &p4, bool exact) |
|
static int | ConvertConicToQuads (const SkPoint &p0, const SkPoint &p1, const SkPoint &p2, SkScalar w, SkPoint pts[], int pow2) |
|
Definition at line 146 of file SkRecords.h.