diff options
Diffstat (limited to 'include/core/SkPoint.h')
-rw-r--r-- | include/core/SkPoint.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h index f705888c62..75451da71c 100644 --- a/include/core/SkPoint.h +++ b/include/core/SkPoint.h @@ -6,7 +6,7 @@ */ /* Generated by tools/bookmaker from include/core/SkPoint.h and docs/SkPoint_Reference.bmh - on 2018-06-08 11:48:28. Additional documentation and examples can be found at: + on 2018-06-14 13:13:34. Additional documentation and examples can be found at: https://skia.org/user/api/SkPoint_Reference You may edit either file directly. Structural changes to public interfaces require @@ -159,7 +159,7 @@ struct SkIPoint { struct SkPoint; /** SkVector provides an alternative name for SkPoint. SkVector and SkPoint can - be used interchangably for all purposes. + be used interchangeably for all purposes. */ typedef SkPoint SkVector; @@ -277,7 +277,7 @@ struct SK_API SkPoint { fY += dy; } - /** Returns the Euclidean_Distance from origin, computed as: + /** Returns the Euclidean distance from origin, computed as: sqrt(fX * fX + fY * fY) @@ -287,7 +287,7 @@ struct SK_API SkPoint { */ SkScalar length() const { return SkPoint::Length(fX, fY); } - /** Returns the Euclidean_Distance from origin, computed as: + /** Returns the Euclidean distance from origin, computed as: sqrt(fX * fX + fY * fY) @@ -474,7 +474,7 @@ struct SK_API SkPoint { return {a.fX + b.fX, a.fY + b.fY}; } - /** Returns the Euclidean_Distance from origin, computed as: + /** Returns the Euclidean distance from origin, computed as: sqrt(x * x + y * y) @@ -499,7 +499,7 @@ struct SK_API SkPoint { */ static SkScalar Normalize(SkVector* vec); - /** Returns the Euclidean_Distance between a and b. + /** Returns the Euclidean distance between a and b. @param a line end point @param b line end point |