Re: 2D Graphics with gtk-1.2 (for the developers of GTK+..)
- From: Paul Davis <pbd Op Net>
- To: hunchback netcabo pt
- Cc: gtk-list gnome org
- Subject: Re: 2D Graphics with gtk-1.2 (for the developers of GTK+..)
- Date: Fri, 05 Apr 2002 13:58:43 -0500
>i've a question.. i'm doing a 2D game and i'm using a GtkDrawingArea, but i ha
>ve
>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 man
>y
>resources.. if i should only use GdkPixmap's, how can i make the transparent a
>reas?
>
>(someone already answered that question, but i lost my mails, and when
>i did a search on gtk.org it didn't came up..., if someone could cc that mail
>to me, i would apreciate alot, i think the subject was "transparent style")
use the bitmap generated with the pixmap as the clip mask when you
draw the pixmap.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]