aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPoint.h
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-11-03 08:06:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-03 13:56:30 +0000
commit60aaeb2b551d5e3e90baacac315e899e26f758f1 (patch)
tree7749aef06d37c83be8776c9355468cfbccaad6c4 /include/core/SkPoint.h
parente657dc8ce6cb17136dfd21be905b97a3957e957e (diff)
create imagepriv and name params
Named all parameters and made the names consistent for documentation. Moved SK_IMAGEFILTER_UNFLATTEN_COMMON to private file. TBR=reed@google.com Bug: skia:6898 Change-Id: I1343d2b16d4217088fa3bc9c40f1f4177fa32740 Reviewed-on: https://skia-review.googlesource.com/66521 Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'include/core/SkPoint.h')
-rw-r--r--include/core/SkPoint.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h
index 70437340b6..e2af9dda91 100644
--- a/include/core/SkPoint.h
+++ b/include/core/SkPoint.h
@@ -16,7 +16,8 @@
SkIPoint holds two 16 bit integer coordinates
*/
struct SkIPoint16 {
- int16_t fX, fY;
+ int16_t fX;
+ int16_t fY;
static SkIPoint16 Make(int x, int y) {
SkIPoint16 pt;
@@ -38,7 +39,8 @@ struct SkIPoint16 {
SkIPoint holds two 32 bit integer coordinates
*/
struct SkIPoint {
- int32_t fX, fY;
+ int32_t fX;
+ int32_t fY;
static SkIPoint Make(int32_t x, int32_t y) {
SkIPoint pt;
@@ -154,7 +156,8 @@ struct SkIPoint {
};
struct SK_API SkPoint {
- SkScalar fX, fY;
+ SkScalar fX;
+ SkScalar fY;
static SkPoint Make(SkScalar x, SkScalar y) {
SkPoint pt;
@@ -487,7 +490,7 @@ struct SK_API SkPoint {
enum Side {
kLeft_Side = -1,
kOn_Side = 0,
- kRight_Side = 1
+ kRight_Side = 1,
};
/**