Generated by Doxygen 1.8.14
Neographics
point.h
1 #pragma once
2 #ifdef NGFX_IS_CORE
3 #include <stdint.h>
4 #else
5 #include <pebble.h>
6 #endif
7 
8 /*-----------------------------------------------------------------------------.
9 | |
10 | Point |
11 | |
12 `-----------------------------------------------------------------------------*/
13 
24 typedef struct n_GPoint {
25  int16_t x;
26  int16_t y;
27 } n_GPoint;
28 
32 #define n_GPoint(x, y) ((n_GPoint) {x, y})
33 
36 #define n_GPointZero ((n_GPoint) {.x = 0, .y = 0})
37 
#define n_GPoint(x, y)
Definition: point.h:32
Definition: point.h:24