Search Results

Search: Posts Made By: Yuriy
Forum: Programming 01-24-2013
1,399
Posted By Yuriy
Function create bitmaps from mulricolor pixmap...
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,
...
Forum: Programming 01-18-2013
1,399
Posted By Yuriy
Clip mask on all screen
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...
Forum: Programming 01-11-2013
1,426
Posted By Yuriy
Done. For calculate lines used Bresenham's...
Done.
For calculate lines used Bresenham's algorithm.

#include <math.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <stdlib.h>
#include "bresDraw.h"

void XDrawLineFillXpm(XPoint...
Forum: Programming 01-10-2013
1,426
Posted By Yuriy
Draw multicolor line
Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs.

Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy