Re: double_buffered and scrolled_window
- From: Dov Grobgeld <dov grobgeld gmail com>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-list <gtk-devel-list gnome org>
- Subject: Re: double_buffered and scrolled_window
- Date: Mon, 16 Apr 2018 13:15:41 +0300
Hi Emmanuele and thanks for the detailed reply. Boy, do I feel like I flunked the widget writing class. :-)
I'll take all your recommendations into consideration as time allows.
I realize that gob is dead. I should be going to pure C instead. I can't even use the straight gob output, but have to patch it before compiling....
You are correct that I copied the window creation code from the GdkDrawingArea widget. I'll correct it based on the CustomWidget tutorial.
Regarding GdkPixbuf, Indeed I'm composing the whole image before shipping it to the screen. I currently do this for two reasons. One is that I want to be able to do nearest neighbor scaling, instead of bilinear scaling, when zooming up images. But perhaps this is possible with cairo as well? The second reason is that I'm still using agg for drawing vector graphics instead of cairo. A few years back when I compared the speed, of the two I found agg to be much faster than cairo, but perhaps that has changed now?
Regarding, the gestures, is there a tutorial of how to use them? The CustomWidgets tutorial mentions them, but then goes on to describe the button and motion notify events.
Thanks again!
Dov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]