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



Thanks everyone,
I'll try all the suggested solutions and pick best that works for me.

2017-03-21 11:20 GMT+00:00 Joël Krähemann <jkraehemann gmail com>:

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




-- 
Pozdrawiam
Marcin Kolny


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