#include <SkIPoint16.h>
SkIPoint16 holds two 16 bit integer coordinates.
Definition at line 17 of file SkIPoint16.h.
◆ Make()
Sets fX to x, fY to y. If SK_DEBUG is defined, asserts if x or y does not fit in 16 bits.
- Parameters
-
x | integer x-axis value of constructed SkIPoint |
y | integer y-axis value of constructed SkIPoint |
- Returns
- SkIPoint16 (x, y)
Definition at line 29 of file SkIPoint16.h.
29 {
31 }
constexpr int16_t SkToS16(S x)
◆ set()
void SkIPoint16::set |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
Sets fX to x and fY to y.
- Parameters
-
x | new value for fX |
y | new value for fY |
Definition at line 50 of file SkIPoint16.h.
50 {
53 }
int16_t fY
y-axis value used by SkIPoint16
int16_t fX
x-axis value used by SkIPoint16
◆ x()
int16_t SkIPoint16::x |
( |
| ) |
const |
|
inline |
◆ y()
int16_t SkIPoint16::y |
( |
| ) |
const |
|
inline |
◆ fX
◆ fY
The documentation for this struct was generated from the following file: