49 NXSize size = {width, height};
57 static inline NXRect NXMakeRect(int16_t x, int16_t y, uint16_t width, uint16_t height) {
58 NXRect rect = {{x, y}, {width, height}};
static NXRect NXMakeRect(int16_t x, int16_t y, uint16_t width, uint16_t height)
Returns a rectangle.
int16_t x
Pixels from the left.
static NXSize NXMakeSize(uint16_t width, uint16_t height)
Returns a size.
NXPoint origin
Its top left.
int16_t y
Pixels from the top.
static NXPoint NXMakePoint(int16_t x, int16_t y)
Returns a point.
A point, in pixels from the top left.
A rectangle: its top left, and its size.