Re: Re-drawing GtkDrawingArea surface on motion-notify-event



Hi

If you do it using cairo you might be interested in the following function.

cairo_image_surface_get_data()

You get the pixels stored in your picture. It can be restored using memcpy()
what is actually quiet fast.

Bests,
Joël


On Tue, Mar 21, 2017 at 8:26 AM, F.Reiter <franz reiter cadcam co at> wrote:
Hallo,
for lightning-fast, xor, rubberbanding, zooming, clipping ..
why not consider Open-GL ?
Franz
(https://github.com/gcad3d/gcad3d)

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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