Re: 2D Graphics with gtk-1.2 (for the developers of GTK+..)



hunchback netcabo pt wrote:
> i've a question.. i'm doing a 2D game and i'm using a GtkDrawingArea, but
i have 
> some pixmaps that have transparent areas, and i looked on the GTK+ 
> documentation and i only found gtk_widget_shape_combine_mask... So, i'm
> wondering, should i use GtkPixmap's to draw this pixmaps that have 
> transparent areas (and align them with GtkFixed after), or if this uses to
many
> resources.. if i should only use GdkPixmap's, how can i make the
transparent areas?

There are also a bunch of sprite libraries which work with gtk (tho' 
I've not used any of them):

http://www.libsdl.org/libraries.html

John



========================================================== 
Aelbert Cuyp 13 February - 12 May 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/cuyp/



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