Re: Re-drawing GtkDrawingArea surface on motion-notify-event
- From: Joël Krähemann <jkraehemann gmail com>
- To: "F.Reiter" <franz reiter cadcam co at>
- Cc: rbd <rbd soest hawaii edu>, "gtk-app-devel-." <gtk-app-devel-list gnome org>, marcin kolny gmail com
- Subject: Re: Re-drawing GtkDrawingArea surface on motion-notify-event
- Date: Tue, 21 Mar 2017 12:20:18 +0100
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]