Re: gdk_pixbuf_render_to_drawable_alpha & segault...



On Sat, 20 Jul 2002 22:20:18 +0200
Roland Smith <rsmith xs4all nl> wrote:

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.


thx for the reply, and sorry for double emails roland, i replied to this mail and it accidentily went to you 
instead of the list.

that code works, it looks pretty nice too :) but i dunno if its what i need really. its creating a composite 
image...not really what im going for (although im sure it would work but it would make other things i have 
planned difficult so...)

i suppose im using gdk_pixbuf_render_to_drawable_alpha() improperly somewhere.. i need to find out where or 
how.. does anyone know of any examples using this?




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