Done.
For calculate lines used Bresenham's algorithm.
#include <math.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <stdlib.h>
Type: Posts; User: Yuriy
Done.
For calculate lines used Bresenham's algorithm.
#include <math.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <stdlib.h>
Hello. I need draw many lines with multicolor (color is set bysome pixmap (xpm))
on C++ with standart libs.
Horizontal lines are drawing succsessfully with GC and XSetTile.
But non-horizontal -...