Home | History | Annotate | Download | only in core

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.
293 /** If rectangles a and b intersect, return true and set this rectangle to
295 rectangle. For speed, no check to see if a or b are empty is performed.
313 /** If the rectangle specified by left,top,right,bottom intersects this rectangle,
314 return true and set this rectangle to that intersection,
315 otherwise return false and do not change this rectangle.
316 If either rectangle is empty, do nothing and return false.
348 /** Update this rectangle to enclose itself and the specified rectangle.
349 If this rectangle is empty, just set it to the specified rectangle. If the specified
350 rectangle is empty, do nothing.
354 /** Update this rectangle to enclose itself and the specified rectangle.
355 If this rectangle is empty, just set it to the specified rectangle. If the specified
356 rectangle is empty, do nothing.
436 * Return true if the rectangle's width or height are <= 0
484 /** return the 4 points that enclose the rectangle (top-left, top-right, bottom-right,
489 /** Set this rectangle to the empty rectangle (0,0,0,0)
522 * Set this rectangle to be left/top at 0,0, and have the specified width
531 /** Set this rectangle to be the bounds of the array of points.
532 If the array is empty (count == 0), then set this rectangle
533 to the empty rectangle (0,0,0,0)
576 * Make the largest representable rectangle
584 * Make the largest representable rectangle, but inverted (e.g. fLeft will
606 /** Offset set the rectangle by adding dx to its left and right,
630 /** Inset the rectangle by (dx,dy). If dx is positive, then the sides are
631 moved inwards, making the rectangle narrower. If dx is negative, then
632 the sides are moved outwards, making the rectangle wider. The same holds
642 /** Outset the rectangle by (dx,dy). If dx is positive, then the sides are
643 moved outwards, making the rectangle wider. If dx is negative, then the
644 sides are moved inwards, making the rectangle narrower. The same holds
649 /** If this rectangle intersects r, return true and set this rectangle to that
650 intersection, otherwise return false and do not change this rectangle.
651 If either rectangle is empty, do nothing and return false.
656 /** If this rectangle intersects the rectangle specified by left, top, right, bottom,
657 return true and set this rectangle to that intersection, otherwise return false
658 and do not change this rectangle.
659 If either rectangle is empty, do nothing and return false.
664 * Return true if this rectangle is not empty, and the specified sides of
665 * a rectangle are not empty, and they intersect.
676 /** If rectangles a and b intersect, return true and set this rectangle to
678 * rectangle. If either rectangle is empty, do nothing and return false.
692 * Update this rectangle to enclose itself and the specified rectangle.
693 * If this rectangle is empty, just set it to the specified rectangle.
694 * If the specified rectangle is empty, do nothing.
698 /** Update this rectangle to enclose itself and the specified rectangle.
699 If this rectangle is empty, just set it to the specified rectangle. If the specified
700 rectangle is empty, do nothing.
740 * Return true if this rectangle contains r, and if both rectangles are
751 * Set the dst rectangle by rounding this rectangle's coordinates to their
779 * Set the dst rectangle by rounding "out" this rectangle, choosing the
789 * Expand this rectangle by rounding its coordinates "out", choosing the
801 * Set the dst rectangle by rounding "in" this rectangle, choosing the