Lines Matching defs:rect
56 //!< This element combines a device space rect with the current clip.
58 //!< This element combines a device space round-rect with the current clip.
76 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) {
77 this->initRect(0, rect, m, op, doAA);
92 Element(const SkRect& rect, bool doAA) {
93 this->initReplaceRect(0, rect, doAA);
113 //!< Call if getDeviceSpaceType() is kRRect to get the round-rect.
119 //!< Call if getDeviceSpaceType() is kRect to get the rect.
143 //!< Call if getType() is not kPath to get the element as a round rect.
164 * Gets the bounds of the clip element, either the rect or path bounds. (Whether the shape
170 * Conservatively checks whether the clip shape contains the rect/rrect. (Whether the shape
173 bool contains(const SkRect& rect) const;
236 // equivalent to a single rect intersection? IIOW, is the clip effectively a rectangle.
253 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) {
254 this->initRect(saveCount, rect, m, op, doAA);
265 Element(int saveCount, const SkRect& rect, bool doAA) {
266 this->initReplaceRect(saveCount, rect, doAA);
282 /* This method checks to see if two rect clips can be safely merged into one. The issue here
283 is that to be strictly correct all the edges of the resulting rect must have the same
354 * Returns true if the input (r)rect in device space is entirely contained
355 * by the clip. A return value of false does not guarantee that the (r)rect