Re: alpha channel with Gdk/Gtk+ color



Not sure how you'd do this in gdk directly, but I can think of two alternatives:
a. Use Cairo (supports alpha channels, and gives you awesome-looking
antialiased triangles to boot)
b. Use gdk to render to 30 different GdkPixbufs, then composite them
together. The composite functions take an alpha parameter. I doubt the
performance would be very good, though.

-Jim



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