Lines Matching refs:SkIRect
59 explicit SkRegion(const SkIRect& rect);
119 /** Exchanges SkIRect array of SkRegion and other. swap() internally exchanges pointers,
141 /** Returns true if SkRegion is one SkIRect with positive dimensions.
143 @return true if SkRegion contains one SkIRect
149 @return true if SkRegion contains more than one SkIRect
153 /** Returns minimum and maximum axes values of SkIRect array.
156 @return combined bounds of all SkIRect elements
158 const SkIRect& getBounds() const { return fBounds; }
162 Returns one if SkRegion equals SkIRect; otherwise, returns
201 bool setRect(const SkIRect& rect);
203 /** Constructs SkRegion as the union of SkIRect in rects array. If count is
208 @param rects array of SkIRect
214 bool setRects(const SkIRect rects[], int count);
249 @param rect SkIRect to intersect
254 bool intersects(const SkIRect& rect) const;
280 @param other SkIRect to contain
285 bool contains(const SkIRect& other) const;
300 @param r SkIRect to contain
303 bool quickContains(const SkIRect& r) const {
317 @param rect SkIRect to intersect
320 bool quickReject(const SkIRect& rect) const {
322 !SkIRect::Intersects(fBounds, rect);
334 !SkIRect::Intersects(fBounds, rgn.fBounds);
374 @param rect SkIRect operand
377 bool op(const SkIRect& rect, Op op) {
398 @param rect SkIRect operand
404 bool op(const SkIRect& rect, const SkRegion& rgn, Op op);
410 @param rect SkIRect operand
415 bool op(const SkRegion& rgn, const SkIRect& rect, Op op);
451 /** Sets SkRegion::Iterator to return elements of SkIRect array in region.
477 /** Returns true if SkRegion::Iterator is pointing to final SkIRect in SkRegion.
483 /** Advances SkRegion::Iterator to next SkIRect in SkRegion if it is not done.
489 /** Returns SkIRect element in SkRegion. Does not return predictable results if SkRegion
492 @return part of SkRegion as SkIRect
494 const SkIRect& rect() const { return fRect; }
505 SkIRect fRect = {0, 0, 0, 0};
516 /** Sets SkRegion::Cliperator to return elements of SkIRect array in SkRegion within clip.
524 Cliperator(const SkRegion& region, const SkIRect& clip);
526 /** Returns true if SkRegion::Cliperator is pointing to final SkIRect in SkRegion.
532 /** Advances iterator to next SkIRect in SkRegion contained by clip.
538 /** Returns SkIRect element in SkRegion, intersected with clip passed to
542 @return part of SkRegion inside clip as SkIRect
544 const SkIRect& rect() const { return fRect; }
548 SkIRect fClip;
549 SkIRect fRect = {0, 0, 0, 0};
636 SkIRect fBounds;
657 static void BuildRectRuns(const SkIRect& bounds,
663 SkIRect* bounds);