diff --git a/site/user/api/SkRect_Reference.md b/site/user/api/SkRect_Reference.md index 678f28f8af..f679e6284c 100644 --- a/site/user/api/SkRect_Reference.md +++ b/site/user/api/SkRect_Reference.md @@ -47,7 +47,6 @@ integer input cannot convert to SkScalar wit | contains | Returns true if points are equal or inside. | | dump | Sends text representation using floats to standard output. | | dumpHex | Sends text representation using hexadecimal to standard output. | -| growToInclude | Sets to union of bounds and one or more Points. | | height | Returns span in y. | | inset | Moves the sides symmetrically about the center. | | intersect | Sets to shared area; returns true if not empty. | @@ -2258,128 +2257,6 @@ sorted: 10, 0, 55, 100 --- - -## growToInclude - -
-void growToInclude(SkPoint pt)
-
- -Grows Rect to include (pt.fX, pt.fY), modifying it so that: - -fLeft <= pt.fX <= fRight && fTop <= pt.fY <= fBottom. - -If Rect is inverted, then Rect will preserve the top left, and the result -will not be inverted. - -### Parameters - - - -
pt -Point to include
- -### Example - -
- -#### Example Output - -~~~~ -rect: 1, 1, 42, 24 isEmpty: false -~~~~ - -
- -### See Also - -join - ---- - -
-void growToInclude(const SkPoint pts[], int count)
-
- -For each of count Point in pts, grows Rect to include (pt.fX, pt.fY), modifying -it so that: -fLeft <= pt.fX <= fRight && fTop <= pt.fY <= fBottom. - -If Rect is inverted, then Rect will contain bounds of -Points after one or more calls. In this case, Rect is empty after first call. - -### Parameters - - - - -
pts -Point array
count -number of points in array
- -### Example - -
- -#### Example Output - -~~~~ -rect: 30, 50, 40, 60 -~~~~ - -
- -### See Also - -join - ---- - -
-void growToInclude(const SkPoint pts[], size_t stride, int count)
-
- -For each of count Point in pts, grows Rect to include (pt.fX, pt.fY), modifying -it so that: -fLeft <= pt.fX <= fRight && fTop <= pt.fY <= fBottom. - -Point may be followed with other data in each array element. stride is number -of bytes in element; the interval to skip to advance from one Point to -the next. - -If Rect is inverted, then Rect will contain bounds of -Points after one or more calls. In this case, Rect is empty after first call. - -### Parameters - - - - - -
pts -array of elements beginning with Point
stride -size of pts elements in 32-bit words; zero or greater
count -number of elements in array
- -### Example - -
- -#### Example Output - -~~~~ -#Volatile -rect: 30, 50, 40, 60 -~~~~ - -
- -### See Also - -join - ---- - ## contains