Generated by Doxygen 1.8.14
Neographics
Point

Classes

struct  n_GPoint
 

Macros

#define n_GPoint(x, y)   ((n_GPoint) {x, y})
 
#define n_GPointZero   ((n_GPoint) {.x = 0, .y = 0})
 

Typedefs

typedef struct n_GPoint n_GPoint
 

Detailed Description

Defines a point on (or off) the canvas.

Macro Definition Documentation

◆ n_GPoint

#define n_GPoint (   x,
 
)    ((n_GPoint) {x, y})

Convenience macro to quickly define a point.

◆ n_GPointZero

#define n_GPointZero   ((n_GPoint) {.x = 0, .y = 0})

Convenience macro for the origin (top left).

Typedef Documentation

◆ n_GPoint

typedef struct n_GPoint n_GPoint

Represents a point.