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
174 /** Offset set the rectangle by adding dx to its left and right,
198 /** Inset the rectangle by (dx,dy). If dx is positive, then the sides are moved inwards,
199 making the rectangle narrower. If dx is negative, then the sides are moved outwards,
200 making the rectangle wider. The same holds true for dy and the top and bottom.
209 /** Outset the rectangle by (dx,dy). If dx is positive, then the sides are
210 moved outwards, making the rectangle wider. If dx is negative, then the
211 sides are moved inwards, making the rectangle narrower. The same holds
220 /** Returns true if (x,y) is inside the rectangle and the rectangle is not
222 and bottom are not. Thus for the rectangle (0, 0, 5, 10), the
230 /** Returns true if the 4 specified sides of a rectangle are inside or equal to this rectangle.
231 If either rectangle is empty, contains() returns false.
239 /** Returns true if the specified rectangle r is inside or equal to this rectangle.
247 /** Return true if this rectangle contains the specified rectangle.
266 /** If r intersects this rectangle, return true and set this rectangle to that
267 intersection, otherwise return false and do not change this rectangle.
268 If either rectangle is empty, do nothing and return false.
275 /** If rectangles a and b intersect, return true and set this rectangle to
277 rectangle. If either rectangle is empty, do nothing and return false.
294 /** If rectangles a and b intersect, return true and set this rectangle to
296 rectangle. For speed, no check to see if a or b are empty is performed.
315 /** If the rectangle specified by left,top,right,bottom intersects this rectangle,
316 return true and set this rectangle to that intersection,
317 otherwise return false and do not change this rectangle.
318 If either rectangle is empty, do nothing and return false.
350 /** Update this rectangle to enclose itself and the specified rectangle.
351 If this rectangle is empty, just set it to the specified rectangle. If the specified
352 rectangle is empty, do nothing.
356 /** Update this rectangle to enclose itself and the specified rectangle.
357 If this rectangle is empty, just set it to the specified rectangle. If the specified
358 rectangle is empty, do nothing.
438 * Return true if the rectangle's width or height are <= 0
486 /** return the 4 points that enclose the rectangle (top-left, top-right, bottom-right,
491 /** Set this rectangle to the empty rectangle (0,0,0,0)
524 * Set this rectangle to be left/top at 0,0, and have the specified width
533 /** Set this rectangle to be the bounds of the array of points.
534 If the array is empty (count == 0), then set this rectangle
535 to the empty rectangle (0,0,0,0)
578 * Make the largest representable rectangle
586 * Make the largest representable rectangle, but inverted (e.g. fLeft will
608 /** Offset set the rectangle by adding dx to its left and right,
632 /** Inset the rectangle by (dx,dy). If dx is positive, then the sides are
633 moved inwards, making the rectangle narrower. If dx is negative, then
634 the sides are moved outwards, making the rectangle wider. The same holds
644 /** Outset the rectangle by (dx,dy). If dx is positive, then the sides are
645 moved outwards, making the rectangle wider. If dx is negative, then the
646 sides are moved inwards, making the rectangle narrower. The same holds
651 /** If this rectangle intersects r, return true and set this rectangle to that
652 intersection, otherwise return false and do not change this rectangle.
653 If either rectangle is empty, do nothing and return false.
658 /** If this rectangle intersects the rectangle specified by left, top, right, bottom,
659 return true and set this rectangle to that intersection, otherwise return false
660 and do not change this rectangle.
661 If either rectangle is empty, do nothing and return false.
666 * Return true if this rectangle is not empty, and the specified sides of
667 * a rectangle are not empty, and they intersect.
678 /** If rectangles a and b intersect, return true and set this rectangle to
680 * rectangle. If either rectangle is empty, do nothing and return false.
694 * Update this rectangle to enclose itself and the specified rectangle.
695 * If this rectangle is empty, just set it to the specified rectangle.
696 * If the specified rectangle is empty, do nothing.
700 /** Update this rectangle to enclose itself and the specified rectangle.
701 If this rectangle is empty, just set it to the specified rectangle. If the specified
702 rectangle is empty, do nothing.
742 * Return true if this rectangle contains r, and if both rectangles are
753 * Set the dst rectangle by rounding this rectangle's coordinates to their
781 * Set the dst rectangle by rounding "out" this rectangle, choosing the
791 * Expand this rectangle by rounding its coordinates "out", choosing the
803 * Set the dst rectangle by rounding "in" this rectangle, choosing the