Function create bitmaps from mulricolor pixmap (xpm), set context by each bitmap
and draw polygons with each context:
void XFillPolygonByPixmap(Display *disp, Drawable d, GC gc,
...
Type: Posts; User: Yuriy
Function create bitmaps from mulricolor pixmap (xpm), set context by each bitmap
and draw polygons with each context:
void XFillPolygonByPixmap(Display *disp, Drawable d, GC gc,
...
Hello everyone.
I'm programming in C with xlib (standart libs).
I need set GC with transparent pixmap (in some pixels).
I have colored pixmap, that set tile for GC via XSetTile. This pixmap is...
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 -...