How to compose (or add) pixmaps ?

I'm looking for a nice way to create a pixmap by superposing two
ones. The solution I'm attempting right now is to use imlib, by
pasting both pixmaps on a GdkWindow (gdk_imlib_paste_image()), and
creating a new one out of the window (gdk_imlib_create_image_from_drawable()).

Would there be a better way ?


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