SkIPoint holds two 16 bit integer coordinates
| topics | description |
|---|
| description | function |
|---|---|
| Make | Constructs from integer inputs. |
| set | Sets to integer input. |
| x | Returns fX. |
| y | Returns fY. |
int16_t fX
x-axis value used by IPoint16.
int16_t fY
y-axis value used by IPoint16.
Sets fX to x, fY to y. If SK DEBUG is defined, asserts if x or y does not fit in 16 bits.
IPoint16 (x, y)
pt1.fX == pt2.fX pt1.fY == pt2.fY
set SkPoint::iset() SkIPoint::Make
Returns x-axis value of IPoint16.
fX
pt1.fX == pt1.x()
y SkIPoint::x()
Returns y-axis value of IPoint.
fY
pt1.fY == pt1.y()
x SkPoint::y() SkIPoint::y()
Sets fX to x and fY to y.
pt1.fX == pt2.fX pt1.fY == pt2.fY
Make SkPoint::set