From 3fa7b65f0f8b94fb964206032b82f3e67f11c147 Mon Sep 17 00:00:00 2001 From: Update Docs Date: Tue, 9 Jan 2018 06:54:39 +0000 Subject: Update markdown files Automatic commit by the Housekeeper-Nightly-Bookmaker bot. TBR=update-docs@skia.org NO_MERGE_BUILDS Change-Id: I6919c0b5eace99c4ea229599afef13bdcbb12449 Reviewed-on: https://skia-review.googlesource.com/92480 Reviewed-by: Update Docs Commit-Queue: Update Docs --- site/user/api/SkRect_Reference.md | 123 -------------------------------------- 1 file changed, 123 deletions(-) (limited to 'site') 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 -- cgit v1.2.3