aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/SkIPoint_Reference.bmh
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-03-16 11:34:15 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-16 18:11:35 +0000
commit681287eb67f13e12fbcca96e956dea77c2661583 (patch)
tree6722e6e7174d0eadbc49dddf6a6c022c25c6dc56 /docs/SkIPoint_Reference.bmh
parenta3c68df565ebeb1607cc5c5561b1cb416f36c2ad (diff)
more imageinfo text and warnings and cleanup
more imageinfo text rewrote many examples to fix newly exposed compiler warnings marked a couple of YUV method bodies as deprecated also cleaned up line endings to use the linux style R=bsalomon@google.com TBR=caryclark@google.com Docs-Preview: https://skia.org/?cl=112302 Bug: skia:6898 Change-Id: I89626a27353aa84526f9b9475d927bd0e9d8f0d5 Reviewed-on: https://skia-review.googlesource.com/112302 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Cary Clark <caryclark@google.com>
Diffstat (limited to 'docs/SkIPoint_Reference.bmh')
-rw-r--r--docs/SkIPoint_Reference.bmh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/SkIPoint_Reference.bmh b/docs/SkIPoint_Reference.bmh
index 11a6cdcd1d..66f04e5a5d 100644
--- a/docs/SkIPoint_Reference.bmh
+++ b/docs/SkIPoint_Reference.bmh
@@ -176,7 +176,7 @@ Returns IPoint changing the signs of fX and fY.
#Example
SkIPoint test[] = { {0, -0}, {-1, -2},
{ SK_MaxS32, SK_MinS32 },
- { SK_NaN32, -SK_NaN32 } };
+ { SK_NaN32, SK_NaN32 } };
for (const SkIPoint& pt : test) {
SkIPoint negPt = -pt;
SkDebugf("pt: %d, %d negate: %d, %d\n", pt.fX, pt.fY, negPt.fX, negPt.fY);