Lines Matching defs:rect
39 * the shape's type (e.g. rect, rrect, or oval).
43 * - SkRect::isEmpty() returns true if the rect is not sorted, even if it has area. GrShape will not
47 * to a point or line, just like a rect. SkRRect does not have the concept of unsorted edges.
66 explicit GrShape(const SkRect& rect) { this->setRect(rect); }
103 // type represents a rrect, rect, or oval.
106 // type represents a rrect, rect, or oval.
133 SkRect& rect() { SkASSERT(this->isRect()); return fRect; }
134 const SkRect& rect() const { SkASSERT(this->isRect()); return fRect; }
149 // performs no simplification, so calling setRRect() with a round rect that has isRect() return
158 void setRect(const SkRect& rect) {
160 fRect = rect;
212 bool conservativeContains(const SkRect& rect) const;
264 void simplifyRect(const SkRect& rect, SkPathDirection dir, unsigned start, unsigned flags);