Lines Matching full:rectangle
18 SkIRect holds four 32 bit integer coordinates for a rectangle
69 * Returns the rectangle's width. This does not check for a valid rect
75 * Returns the rectangle's height. This does not check for a valid rect
99 * Return true if the rectangle's width or height are <= 0
121 /** Set the rectangle to (0,0,0,0)
144 * Make the largest representable rectangle
152 * Make the largest representable rectangle, but inverted (e.g. fLeft will
160 /** Offset set the rectangle by adding dx to its left and right,
184 /** Inset the rectangle by (dx,dy). If dx is positive, then the sides are moved inwards,
185 making the rectangle narrower. If dx is negative, then the sides are moved outwards,
186 making the rectangle wider. The same holds true for dy and the top and bottom.
195 /** Outset the rectangle by (dx,dy). If dx is positive, then the sides are
196 moved outwards, making the rectangle wider. If dx is negative, then the
197 sides are moved inwards, making the rectangle narrower. The same holds
206 /** Returns true if (x,y) is inside the rectangle and the rectangle is not
208 and bottom are not. Thus for the rectangle (0, 0, 5, 10), the
216 /** Returns true if the 4 specified sides of a rectangle are inside or equal to this rectangle.
217 If either rectangle is empty, contains() returns false.
225 /** Returns true if the specified rectangle r is inside or equal to this rectangle.
233 /** Return true if this rectangle contains the specified rectangle.
252 /** If r intersects this rectangle, return true and set this rectangle to that
253 intersection, otherwise return false and do not change this rectangle.
254 If either rectangle is empty, do nothing and return false.
261 /** If rectangles a and b intersect, return true and set this rectangle to
263 rectangle. If either rectangle is empty, do nothing and return false.
280 /** If rectangles a and b intersect, return true and set this rectangle to
282 rectangle. For speed, no check to see if a or b are empty is performed.
301 /** If the rectangle specified by left,top,right,bottom intersects this rectangle,
302 return true and set this rectangle to that intersection,
303 otherwise return false and do not change this rectangle.
304 If either rectangle is empty, do nothing and return false.
336 /** Update this rectangle to enclose itself and the specified rectangle.
337 If this rectangle is empty, just set it to the specified rectangle. If the specified
338 rectangle is empty, do nothing.
342 /** Update this rectangle to enclose itself and the specified rectangle.
343 If this rectangle is empty, just set it to the specified rectangle. If the specified
344 rectangle is empty, do nothing.
424 * Return true if the rectangle's width or height are <= 0
480 /** return the 4 points that enclose the rectangle (top-left, top-right, bottom-right,
485 /** Set this rectangle to the empty rectangle (0,0,0,0)
518 * Set this rectangle to be left/top at 0,0, and have the specified width
527 /** Set this rectangle to be the bounds of the array of points.
528 If the array is empty (count == 0), then set this rectangle
529 to the empty rectangle (0,0,0,0)
572 * Make the largest representable rectangle
580 * Make the largest representable rectangle, but inverted (e.g. fLeft will
588 /** Offset set the rectangle by adding dx to its left and right,
612 /** Inset the rectangle by (dx,dy). If dx is positive, then the sides are
613 moved inwards, making the rectangle narrower. If dx is negative, then
614 the sides are moved outwards, making the rectangle wider. The same holds
624 /** Outset the rectangle by (dx,dy). If dx is positive, then the sides are
625 moved outwards, making the rectangle wider. If dx is negative, then the
626 sides are moved inwards, making the rectangle narrower. The same holds
631 /** If this rectangle intersects r, return true and set this rectangle to that
632 intersection, otherwise return false and do not change this rectangle.
633 If either rectangle is empty, do nothing and return false.
637 /** If this rectangle intersects the rectangle specified by left, top, right, bottom,
638 return true and set this rectangle to that intersection, otherwise return false
639 and do not change this rectangle.
640 If either rectangle is empty, do nothing and return false.
645 * Return true if this rectangle is not empty, and the specified sides of
646 * a rectangle are not empty, and they intersect.
657 /** If rectangles a and b intersect, return true and set this rectangle to
659 * rectangle. If either rectangle is empty, do nothing and return false.
673 * Update this rectangle to enclose itself and the specified rectangle.
674 * If this rectangle is empty, just set it to the specified rectangle.
675 * If the specified rectangle is empty, do nothing.
679 /** Update this rectangle to enclose itself and the specified rectangle.
680 If this rectangle is empty, just set it to the specified rectangle. If the specified
681 rectangle is empty, do nothing.
721 * Return true if this rectangle contains r, and if both rectangles are
732 * Set the dst rectangle by rounding this rectangle's coordinates to their
742 * Set the dst rectangle by rounding "out" this rectangle, choosing the
752 * Expand this rectangle by rounding its coordinates "out", choosing the
764 * Set the dst rectangle by rounding "in" this rectangle, choosing the