Hi,

this question is half Gtkmm, half Cairomm… I need to draw rectangles on a pixbuf and I need it to be fast. I could do this accessing the pixels directly but it's not elegant. ;o)

I tried to wrap a Cairo surface on the pixbuf's pixels but the rowstride is apparently not computed in the same way.

Before I spend more time on this, is there a way to interface Cairo with Gdk::Pixbuf without copying all the pixel values twice ?

Thanks,
yann
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to