ezxdisp 0.1.2 review
Downloadezxdisp is a simple graphics library that works on the X11 and Win32 platforms
|
|
ezxdisp is a simple graphics library that works on the X11 and Win32 platforms. ezxdisp library has a small set of functions for drawing simple 2D/3D graphics.
For example, following code will create a 100x100 window with white background, and will draw red circle in the centre of the window.
#include "ezxdisp.h"
int main(int argc, char *argv[])
{
ezx_t *e;
e = ezx_init(100, 100, "Hello, ezxdisp.");
ezx_set_background(e, &ezx_white);
ezx_fillcircle_2d(e, 50, 50, 25, &ezx_red, 1);
ezx_redraw(e);
sleep(3);
ezx_quit(e);
return 0;
}
ezxdisp 0.1.2 search tags