NHP_Wrist_Center_Out 1.1.1
Compiled `c` application run on Jetson Nano 2, which renders uses `XLib11` libraries to render the white cursor and targets on a black background, moving the cursor and showing or hiding targets as a function of received UDP messages.
|
Functions that render graphics onto the canvas.
More...
Functions | |
void | drawCircle (Display *display, Window window, GC gc, int x, int y, int radius) |
Draws a circle on the specified display and window. | |
void | drawTarget (Display *display, Window window, GC gc, struct Circle target) |
Draws a target circle on the specified display and window. | |
Functions that render graphics onto the canvas.
void drawCircle | ( | Display * | display, |
Window | window, | ||
GC | gc, | ||
int | x, | ||
int | y, | ||
int | radius ) |
Draws a circle on the specified display and window.
display | The X display. |
window | The X window. |
gc | The graphics context. |
x | The x-coordinate of the circle's center. |
y | The y-coordinate of the circle's center. |
radius | The radius of the circle. |
void drawTarget | ( | Display * | display, |
Window | window, | ||
GC | gc, | ||
struct Circle | target ) |
Draws a target circle on the specified display and window.
display | The X display. |
window | The X window. |
gc | The graphics context. |
target | The target circle to draw. |