Re: Drawing 32b images on my Offscreen



Looks like I misunderstood the draw_rgb_32_image() purpose... with a
draw_pixbuf() call, my alpha channel is correctly used :)


Atma wrote:
> 
> Hi there :)
> 
> I have a Pixmap offscreen on which I draw lots of stuff (lines, polygons
> etc..)... Fine !
> ... but not this far !...
> When I try to draw a 32b PNG image on this pixmap (using
> draw_rgb_32_image()), alpha channel is replaced by some white value :'(
> 
> I use a white gc (get_white_gc() on my window style) ... maybe It could
> come from this (would there be a "transparent" gc ? ^^)
> 
> If you have any idea, it would be great ! :)
> 
> Thanks in advance :)
> 

-- 
View this message in context: http://www.nabble.com/Drawing-32b-images-on-my-Offscreen-tf2324702.html#a6470622
Sent from the Gtkmm mailing list archive at Nabble.com.




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