aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPoint.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 22:36:34 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 22:36:34 +0000
commit24d10cb635b002462dc503bf603d3ec487fcb557 (patch)
tree13d674fa772f1b7c94cacf9ca6cca2b3d4fa6506 /include/core/SkPoint.h
parent7312a183270db1dc4e23412465a41af47c45b95c (diff)
tweak to comments, ws change to trigger bots
git-svn-id: http://skia.googlecode.com/svn/trunk@7435 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPoint.h')
-rw-r--r--include/core/SkPoint.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h
index 1ba710d85a..a6a8e730c2 100644
--- a/include/core/SkPoint.h
+++ b/include/core/SkPoint.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2006 The Android Open Source Project
*
@@ -6,7 +5,6 @@
* found in the LICENSE file.
*/
-
#ifndef SkPoint_DEFINED
#define SkPoint_DEFINED
@@ -337,9 +335,12 @@ struct SK_API SkPoint {
#endif
}
- /** Returns true if the point's coordinates equal (x,y)
- */
- bool equals(SkScalar x, SkScalar y) const { return fX == x && fY == y; }
+ /**
+ * Returns true if the point's coordinates equal (x,y)
+ */
+ bool equals(SkScalar x, SkScalar y) const {
+ return fX == x && fY == y;
+ }
friend bool operator==(const SkPoint& a, const SkPoint& b) {
return a.fX == b.fX && a.fY == b.fY;