Using an X11 Pixmap in a GtkImage



OK, so I've managed to do it using Cairo. However, I have two problems:

If the window's image has a bit depth of 32, it fails to draw onto my widget, which presumably has a bit 
depth of 24.

If I attempt to scale the image below half its size using cairo_scale, it fails to draw.

How can I resolve this?

Regards

adlo


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