Search:

Type: Posts; User: Yuriy

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,118

    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,
    ...
  2. Replies
    1
    Views
    2,118

    How to set GC with transparent pixmap

    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...
  3. Replies
    1
    Views
    1,764

    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>
  4. Replies
    1
    Views
    1,764

    Draw line with multicolor

    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 -...
Results 1 to 4 of 4