aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-05-16 21:28:55 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-17 14:02:43 +0000
commitc06754b0466e14e1611fa3144bf337289e6ca82f (patch)
tree287a31a09b4556003569103655a855f8eefd43a6 /docs
parentbd74e6a02ae0e7b031aa1d1cd73062dba2c93daf (diff)
mapRect should not fiddle with nonfinite values.
Docs-Preview: https://skia.org/?cl=128682 Bug: skia:7967 Change-Id: Ic43387b7705ee8385b8df2430886484ff856077c Reviewed-on: https://skia-review.googlesource.com/128682 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/SkMatrix_Reference.bmh16
-rw-r--r--docs/SkRect_Reference.bmh18
2 files changed, 34 insertions, 0 deletions
diff --git a/docs/SkMatrix_Reference.bmh b/docs/SkMatrix_Reference.bmh
index b079cb5632..8cd86bcd3d 100644
--- a/docs/SkMatrix_Reference.bmh
+++ b/docs/SkMatrix_Reference.bmh
@@ -3712,6 +3712,22 @@ Returned value is the same as calling rectStaysRect.
# ------------------------------------------------------------------------------
+#Method SkRect mapRect(const SkRect& src) const
+
+Returns bounds of src corners mapped by Matrix.
+
+#Param src rectangle to map ##
+#Return mapped bounds ##
+
+#Example
+// incomplete
+##
+
+#SeeAlso incomplete
+#Method ##
+
+# ------------------------------------------------------------------------------
+
#Method void mapRectToQuad(SkPoint dst[4], const SkRect& rect) const
#In Transform
#Line # maps Rect to Point array ##
diff --git a/docs/SkRect_Reference.bmh b/docs/SkRect_Reference.bmh
index 73225fcc88..2adfecf5bc 100644
--- a/docs/SkRect_Reference.bmh
+++ b/docs/SkRect_Reference.bmh
@@ -901,6 +901,24 @@ added: nan, 8 count: 4 rect: 0, 0, 0, 0 success: false
# ------------------------------------------------------------------------------
+#Method void setBoundsNoCheck(const SkPoint pts[], int count)
+#In Set
+#Line # sets to upper and lower limits of Point array ##
+Sets to bounds of Point array with count entries. If any point contains a non-finite value
+then the rect will also be non-finite.
+
+#Param pts Point array ##
+#Param count entries in array ##
+
+#Example
+// incomplete
+##
+
+#SeeAlso setBoundsCheck
+#Method ##
+
+# ------------------------------------------------------------------------------
+
#Method void setEmpty()
#In Set