Re: gdk_pixbuf_render_to_drawable_alpha & segault...



On Sat, 20 Jul 2002 12:37:29 +0000
jeff <jeff hype52 com> wrote:

hi, you'll have to excuse my stupidity on these issues. this is my first
attempt at coding anything for linux/x (and using gtk ;/)

anywho im trying to display transparent png's (actually one on top of another)
in a fixed container.

i originally used gdk_pixbuf_render_pixmap_and_mask() but id like to use true
alpha and not the alpha tolerence.. (is this function avail w/out that?)

Run the gtk-demo program that comes with gtk+-2.0. It contains a nice
functional animation.

Click on "pixbufs" in the list on the left, and than click on "Source" to see
the source code.

The code is differs somewhat from yours, but it seems to work. :-)

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in email
http://www.xs4all.nl/~rsmith/         X     No Word docs in email
                                     / \    Respect for open standards

Attachment: pgpHYVHzTxls8.pgp
Description: PGP signature



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