Lines Matching refs:rect
521 /** Returns true if rect is contained by SkPath.
522 May return false when rect is contained by SkPath.
525 rect may share points and edges with SkPath and be contained.
526 Returns true if rect is empty, that is, it has zero width or height; and
527 the SkPoint or line described by rect is contained by SkPath.
529 @param rect SkRect, line, or SkPoint checked for containment
530 @return true if rect is contained
534 bool conservativelyContainsRect(const SkRect& rect) const;
1031 If false: rect, isClosed, and direction are unchanged.
1032 If true: rect, isClosed, and direction are written to if not nullptr.
1034 rect may be smaller than the SkPath bounds. SkPath bounds may include kMove_Verb points
1035 that do not alter the area drawn by the returned rect.
1037 @param rect storage for bounds of SkRect; may be nullptr
1044 bool isRect(SkRect* rect, bool* isClosed = nullptr, SkPathDirection* direction = nullptr) const;
1050 /** Adds a new contour to the path, defined by the rect, and wound in the
1065 // if we don't say moveTo() here, we will use the rect's start point
1068 @param rect SkRect to add as a closed contour
1075 SkPath& addRect(const SkRect& rect, SkPathDirection dir, unsigned start);
1077 SkPath& addRect(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) {
1078 return this->addRect(rect, dir, 0);
1147 equal to rect; each corner is 90 degrees of an ellipse with radii (rx, ry). If
1154 SkRect rect to SkPath.
1158 @param rect bounds of SkRRect
1164 SkPath& addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry,
1168 equal to rect; each corner is 90 degrees of an ellipse with radii from the
1171 @param rect bounds of SkRRect
1176 SkPath& addRoundRect(const SkRect& rect, const SkScalar radii[],
1839 // 'rect' needs to be sorted
1840 void setBounds(const SkRect& rect) {
1843 ed.setBounds(rect);