aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user/api/SkIPoint_Reference.md
diff options
context:
space:
mode:
Diffstat (limited to 'site/user/api/SkIPoint_Reference.md')
-rw-r--r--site/user/api/SkIPoint_Reference.md36
1 files changed, 22 insertions, 14 deletions
diff --git a/site/user/api/SkIPoint_Reference.md b/site/user/api/SkIPoint_Reference.md
index d8640a8701..d43a9b8bc9 100644
--- a/site/user/api/SkIPoint_Reference.md
+++ b/site/user/api/SkIPoint_Reference.md
@@ -3,41 +3,42 @@ SkIPoint Reference
# <a name="IPoint"></a> IPoint
-# <a name="SkIPoint"></a> Struct SkIPoint
-<a href="#SkIPoint">SkIPoint</a> holds two 32 bit integer coordinates.
-
-# <a name="Overview"></a> Overview
+## <a name="Overview"></a> Overview
## <a name="Subtopics"></a> Subtopics
| name | description |
-| --- | --- |
-| <a href="#Overview_Constructors">Constructors</a> | functions that construct <a href="SkIPoint16_Reference#SkIPoint16">SkIPoint16</a> |
-| <a href="#Overview_Member_Functions">Member Functions</a> | static functions and member methods |
-| <a href="#Overview_Operators">Operators</a> | operator overloading methods |
+| --- | --- |
+| <a href="#Constructors">Constructors</a> | functions that construct <a href="SkIPoint_Reference#SkIPoint">SkIPoint</a> |
+| <a href="#Member_Functions">Member Functions</a> | static functions and member methods |
+| <a href="#Members">Members</a> | member values |
+| <a href="#Operators">Operators</a> | operator overloading methods |
+
+# <a name="SkIPoint"></a> Struct SkIPoint
+<a href="#SkIPoint">SkIPoint</a> holds two 32 bit integer coordinates.
## <a name="Constructors"></a> Constructors
| name | description |
-| --- | --- |
+| --- | --- |
| <a href="#SkIPoint_Make">Make</a> | constructs from integer inputs |
## <a name="Operators"></a> Operators
| name | description |
-| --- | --- |
+| --- | --- |
+| <a href="#SkIPoint_notequal_operator">operator!=(const SkIPoint& a, const SkIPoint& b)</a> | returns true if <a href="#IPoint">IPoints</a> are unequal |
| <a href="#SkIPoint_add_operator">operator+(const SkIPoint& a, const SkIVector& b)</a> | returns <a href="#IPoint">IPoint</a> offset by <a href="SkIPoint_Reference#IVector">IVector</a> |
+| <a href="#SkIPoint_addto_operator">operator+=(const SkIVector& v)</a> | adds <a href="SkIPoint_Reference#IVector">IVector</a> to <a href="#IPoint">IPoint</a> |
| <a href="#SkIPoint_minus_operator">operator-() const</a> | reverses sign of <a href="#IPoint">IPoint</a> |
| <a href="#SkIPoint_subtract_operator">operator-(const SkIPoint& a, const SkIPoint& b)</a> | returns <a href="SkIPoint_Reference#IVector">IVector</a> between <a href="#IPoint">IPoints</a> |
-| <a href="#SkIPoint_notequal_operator">operator!=(const SkIPoint& a, const SkIPoint& b)</a> | returns true if <a href="#IPoint">IPoints</a> are unequal |
-| <a href="#SkIPoint_equal_operator">operator==(const SkIPoint& a, const SkIPoint& b)</a> | returns true if <a href="#IPoint">IPoints</a> are equal |
-| <a href="#SkIPoint_addto_operator">operator+=(const SkIVector& v)</a> | adds <a href="SkIPoint_Reference#IVector">IVector</a> to <a href="#IPoint">IPoint</a> |
| <a href="#SkIPoint_subtractfrom_operator">operator-=(const SkIVector& v)</a> | subtracts <a href="SkIPoint_Reference#IVector">IVector</a> from <a href="#IPoint">IPoint</a> |
+| <a href="#SkIPoint_equal_operator">operator==(const SkIPoint& a, const SkIPoint& b)</a> | returns true if <a href="#IPoint">IPoints</a> are equal |
## <a name="Member_Functions"></a> Member Functions
| name | description |
-| --- | --- |
+| --- | --- |
| <a href="#SkIPoint_Make">Make</a> | constructs from integer inputs |
| <a href="#SkIPoint_equals">equals</a> | returns true if members are equal |
| <a href="#SkIPoint_isZero">isZero</a> | returns true if both members equal zero |
@@ -45,6 +46,13 @@ SkIPoint Reference
| <a href="#SkIPoint_x">x</a> | returns <a href="#SkIPoint_fX">fX</a> |
| <a href="#SkIPoint_y">y</a> | returns <a href="#SkIPoint_fY">fY</a> |
+## <a name="Members"></a> Members
+
+| name | description |
+| --- | --- |
+| <a href="#SkIPoint_fX">fX</a> | x-axis value |
+| <a href="#SkIPoint_fY">fY</a> | y-axis value |
+
<a name="SkIPoint_fX"> <code><strong>int32_t fX</strong></code> </a>
x-axis value used by <a href="#IPoint">IPoint</a>.