• Home
  • Raw
  • Download

Lines Matching refs:Rect

1 #Topic Rect
37 horizontal values when sorted. When equal to or greater than fRight, Rect is empty.
43 vertical values when sorted. When equal to or greater than fBottom, Rect is empty.
49 horizontal values when sorted. When equal to or less than fLeft, Rect is empty.
55 vertical values when sorted. When equal to or less than fTop, Rect is empty.
69 Returns constructed Rect set to (0, 0, 0, 0).
103 Returns constructed Rect set to SkScalar values (0, 0, w, h). Does not
106 Passing integer values may generate a compiler warning since Rect cannot
109 #Param w SkScalar width of constructed Rect ##
110 #Param h SkScalar height of constructed Rect ##
136 Returns constructed Rect set to integer values (0, 0, w, h). Does not validate
142 #Param w integer width of constructed Rect ##
143 #Param h integer height of constructed Rect ##
170 Returns constructed Rect set to (0, 0, size.width(), size.height()). Does not
173 #Param size SkScalar values for Rect width and height ##
201 Returns constructed Rect set to (l, t, r, b). Does not sort input; Rect may
234 Returns constructed Rect set to
280 #Param size integer values for Rect width and height ##
429 Returns left edge of Rect, if sorted. Call isSorted to see if Rect is valid.
455 Returns top edge of Rect, if sorted. Call isEmpty to see if Rect may be invalid,
481 Returns left edge of Rect, if sorted. Call isSorted to see if Rect is valid.
507 Returns top edge of Rect, if sorted. Call isEmpty to see if Rect may be invalid,
533 Returns right edge of Rect, if sorted. Call isSorted to see if Rect is valid.
559 Returns bottom edge of Rect, if sorted. Call isEmpty to see if Rect may be invalid,
585 Returns span on the x-axis. This does not check if Rect is sorted, or if
643 Returns average of left edge and right edge. Result does not change if Rect
644 is sorted. Result may overflow to infinity if Rect is far from the origin.
673 Returns average of top edge and bottom edge. Result does not change if Rect
674 is sorted. Result may overflow to infinity if Rect is far from the origin.
709 #Param a Rect to compare ##
710 #Param b Rect to compare ##
754 #Param a Rect to compare ##
755 #Param b Rect to compare ##
784 Returns four points in quad that enclose Rect ordered as: top-left, top-right,
791 #Param quad storage for corners of Rect ##
862 sets Rect to (0, 0, 0, 0).
910 Sets Rect to (0, 0, 0, 0).
939 Sets Rect to src, promoting src members from integer to Scalar.
942 #Param src integer Rect ##
965 Sets Rect to (left, top, right, bottom).
996 Sets Rect to (left, top, right, bottom).
1027 or if Point array contains an infinity or NaN, sets Rect to (0, 0, 0, 0).
1066 Sets bounds to the smallest Rect enclosing Points p0 and p1. The result is
1095 Sets Rect to
1131 Sets Rect to (0, 0, width, height). Does not validate input;
1168 Sets Rect to (left, top, right, bottom).
1200 Sets Rect to (0, 0, width, height).
1236 Returns Rect offset by (dx, dy).
1238 If dx is negative, Rect returned is moved to the left.
1239 If dx is positive, Rect returned is moved to the right.
1240 If dy is negative, Rect returned is moved upward.
1241 If dy is positive, Rect returned is moved downward.
1246 #Return Rect offset in x or y, with original width and height ##
1271 Returns Rect, inset by (dx, dy).
1273 If dx is negative, Rect returned is wider.
1274 If dx is positive, Rect returned is narrower.
1275 If dy is negative, Rect returned is taller.
1276 If dy is positive, Rect returned is shorter.
1281 #Return Rect inset symmetrically left and right, top and bottom ##
1306 Returns Rect, outset by (dx, dy).
1308 If dx is negative, Rect returned is narrower.
1309 If dx is positive, Rect returned is wider.
1310 If dy is negative, Rect returned is shorter.
1311 If dy is positive, Rect returned is taller.
1316 #Return Rect outset symmetrically left and right, top and bottom ##
1341 Offsets Rect by adding dx to fLeft, fRight; and by adding dy to fTop, fBottom.
1343 If dx is negative, moves Rect to the left.
1344 If dx is positive, moves Rect to the right.
1345 If dy is negative, moves Rect upward.
1346 If dy is positive, moves Rect downward.
1369 Offsets Rect by adding delta.fX to fLeft, fRight; and by adding delta.fY to
1372 If delta.fX is negative, moves Rect to the left.
1373 If delta.fX is positive, moves Rect to the right.
1374 If delta.fY is negative, moves Rect upward.
1375 If delta.fY is positive, moves Rect downward.
1377 #Param delta added to Rect ##
1398 Offsets Rect so that fLeft equals newX, and fTop equals newY. width and height
1423 Insets Rect by (dx, dy).
1425 If dx is positive, makes Rect narrower.
1426 If dx is negative, makes Rect wider.
1427 If dy is positive, makes Rect shorter.
1428 If dy is negative, makes Rect taller.
1452 Outsets Rect by (dx, dy).
1454 If dx is positive, makes Rect wider.
1455 If dx is negative, makes Rect narrower.
1456 If dy is positive, makes Rect taller.
1457 If dy is negative, makes Rect shorter.
1482 empty() returns false. The intersection of Rect pair can be described by:
1490 The intersection is only meaningful if the resulting Rect is not empty and
1534 Returns true if Rect contains r.
1535 Returns false if Rect is empty or r is empty.
1537 Rect contains r when Rect area completely includes r area.
1539 #Param r Rect contained ##
1541 #Return true if all sides of Rect are outside r ##
1568 Returns true if Rect contains r.
1569 Returns false if Rect is empty or r is empty.
1571 Rect contains r when Rect area completely includes r area.
1575 #Return true if all sides of Rect are outside r ##
1603 Returns true if Rect intersects r, and sets Rect to intersection.
1604 Returns false if Rect does not intersect r, and leaves Rect unchanged.
1606 Returns false if either r or Rect is empty, leaving Rect unchanged.
1610 #Return true if r and Rect have area in common ##
1637 Constructs Rect to intersect from (left, top, right, bottom). Does not sort
1640 Returns true if Rect intersects construction, and sets Rect to intersection.
1641 Returns false if Rect does not intersect construction, and leaves Rect unchanged.
1643 Returns false if either construction or Rect is empty, leaving Rect unchanged.
1645 #Param left x minimum of constructed Rect ##
1646 #Param top y minimum of constructed Rect ##
1647 #Param right x maximum of constructed Rect ##
1648 #Param bottom y maximum of constructed Rect ##
1650 #Return true if construction and Rect have area in common ##
1676 Returns true if a intersects b, and sets Rect to intersection.
1677 Returns false if a does not intersect b, and leaves Rect unchanged.
1679 Returns false if either a or b is empty, leaving Rect unchanged.
1681 #Param a Rect to intersect ##
1682 #Param b Rect to intersect ##
1706 Constructs Rect to intersect from (left, top, right, bottom). Does not sort
1709 Returns true if Rect intersects construction.
1710 Returns false if either construction or Rect is empty, or do not intersect.
1712 #Param left x minimum of constructed Rect ##
1713 #Param top y minimum of constructed Rect ##
1714 #Param right x maximum of constructed Rect ##
1715 #Param bottom y maximum of constructed Rect ##
1717 #Return true if construction and Rect have area in common ##
1736 Returns true if Rect intersects r.
1737 Returns false if either r or Rect is empty, or do not intersect.
1739 #Param r Rect to intersect ##
1741 #Return true if r and Rect have area in common ##
1764 #Param a Rect to intersect ##
1765 #Param b Rect to intersect ##
1793 Constructs Rect to intersect from (left, top, right, bottom). Does not sort
1796 Sets Rect to the union of itself and the construction.
1798 Has no effect if construction is empty. Otherwise, if Rect is empty, sets
1799 Rect to construction.
1801 #Param left x minimum of constructed Rect ##
1802 #Param top y minimum of constructed Rect ##
1803 #Param right x maximum of constructed Rect ##
1804 #Param bottom y maximum of constructed Rect ##
1824 Sets Rect to the union of itself and r.
1826 Has no effect if r is empty. Otherwise, if Rect is empty, sets
1827 Rect to r.
1829 #Param r expansion Rect ##
1850 Sets Rect to the union of itself and r.
1853 If Rect is empty, sets Rect to r.
1857 #Param r expansion Rect ##
1861 Since Rect is not sorted, first result is copy of toJoin.
1886 Sets Rect to the union of itself and the construction.
1888 May produce incorrect results if Rect or r is empty.
1890 #Param r expansion Rect ##
1894 Since Rect is not sorted, first result is not useful.
1924 Sets IRect by adding 0.5 and discarding the fractional portion of Rect
1983 Sets Rect by discarding the fractional portion of fLeft and fTop; and
1991 #Param dst storage for Rect ##
2013 Sets Rect by rounding up fLeft and fTop; and
2043 Returns IRect by adding 0.5 and discarding the fractional portion of Rect
2133 Returns Rect with fLeft and fRight swapped if fLeft is greater than fRight; and
2137 #Return sorted Rect ##
2161 Returns pointer to first Scalar in Rect, to treat it as an array with four
2183 Writes text representation of Rect to standard output. Set asHex to true to
2212 Writes text representation of Rect to standard output. The representation may be
2214 with limited precision; it may not be possible to reconstruct original Rect
2237 Writes text representation of Rect to standard output. The representation may be
2240 original Rect.
2273 #Topic Rect ##