aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-01-08 16:20:59 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-08 22:00:01 +0000
commit0c95aab176558ab1a050e69d361fde2b54226360 (patch)
tree655f5caf1739574a6d7ce4bccd3e2aaada55e392 /docs
parent2c33e3e3f40ebcde0bfa6d22cc34b6b97526fb36 (diff)
fix example and suppress MakeLargest
add rule to skip MakeLargest until general rule suppressing contents of #if SK_SUPPORT_LEGACY_... can be added. Docs-Preview: https://skia.org/?cl=92221 Bug: skia:6898 Change-Id: Ic2783bf110098626f5e846c3765e72aefbb4398d Reviewed-on: https://skia-review.googlesource.com/92221 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/SkIRect_Reference.bmh7
-rw-r--r--docs/SkRect_Reference.bmh13
2 files changed, 17 insertions, 3 deletions
diff --git a/docs/SkIRect_Reference.bmh b/docs/SkIRect_Reference.bmh
index a3963b2029..7995ebe63b 100644
--- a/docs/SkIRect_Reference.bmh
+++ b/docs/SkIRect_Reference.bmh
@@ -1562,6 +1562,13 @@ rect: 0, 0, 0, 0
##
+#Method static SkIRect SK_WARN_UNUSED_RESULT MakeLargest()
+
+#Deprecated
+##
+
+##
+
#Struct SkIRect ##
#Topic IRect ##
diff --git a/docs/SkRect_Reference.bmh b/docs/SkRect_Reference.bmh
index 120191957a..19bfecd05e 100644
--- a/docs/SkRect_Reference.bmh
+++ b/docs/SkRect_Reference.bmh
@@ -1745,8 +1745,8 @@ 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.
+If Rect is inverted, then Rect will preserve the top left, and the result
+will not be inverted.
#Param pt Point to include ##
@@ -1756,7 +1756,7 @@ Points after one or more calls. In this case, Rect is empty after first call.
SkDebugf("rect: %g, %g, %g, %g ", rect.left(), rect.top(), rect.right(), rect.bottom());
SkDebugf("isEmpty: %s\n", rect.isEmpty() ? "true" : "false");
#StdOut
-rect: 42, 24, 42, 24 isEmpty: true
+rect: 1, 1, 42, 24 isEmpty: false
##
##
@@ -2227,6 +2227,13 @@ rect is equal to copy
##
+#Method static SkRect SK_WARN_UNUSED_RESULT MakeLargest()
+
+#Deprecated
+##
+
+##
+
#Struct SkRect ##
#Topic Rect ##