how can I create a pixmap with transparent background ?



I have the fowlling code and I need that the backgroud for the pixmap pixul to be transparent.

pixul=gdk_pixmap_new(widget->window,20,20,-1);
gdk_draw_arc(pixul,gc[0],FALSE,0,0,20,20,0,64*360);

.....

gdk_draw_drawable(widget->window,gc[0],pixul,0,0,p_x-10,p_y-10,21,21);

Tks.
Intra pe forumul myMail.ro : http://www.mymail.ro/mymail/forum?s=5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]