Home | History | Annotate | Download | only in core

Lines Matching refs:Clip

51         struct Clip {
52 Clip() : fRect(NULL), fPath(NULL), fOp(SkRegion::kIntersect_Op) {}
53 friend bool operator==(const Clip& a, const Clip& b);
54 friend bool operator!=(const Clip& a, const Clip& b);
55 const SkRect* fRect; // if non-null, this is a rect clip
56 const SkPath* fPath; // if non-null, this is a path clip
62 * Return the clip for this element in the iterator. If next() returns
63 * NULL, then the iterator is done. The type of clip is determined by
66 * fRect==NULL fPath!=NULL path clip
67 * fRect!=NULL fPath==NULL rect clip
68 * fRect==NULL fPath==NULL empty clip
70 const Clip* next();
73 * Restarts the iterator on a clip stack.
78 Clip fClip;