Re: What should be used?



On Wed, 2015-07-29 at 15:12 +0100, Emmanuele Bassi wrote:
Those examples, especially the one that uses Unix signals to interrupt
the program flow, ought to be burned with fire. Not only they are
questionable in GTK 2.x, but they are also unportable jumbles of code
that work by sheer accident.

Thanks for your hints and explanations.

The reason why I asked was, that I created a GTK3/Cairo application
http://ssalewski.de/PetEd.html.en (which I just try to finish, currently
in Ruby, maybe later ported to Nim) and so I was asked a few times about
cairo drawing performance, and had some discussions about that topic.

For my application performance is good enough, but threading support (or
cairo-gl backed) is generally interesting -- so some more up to date
examples would be great.

I know that there is much better OpenGl support in GTK 3.16 now -- I am
going to test that soon. But Cairo drawing has some benefits too, for
example the various backends, which makes SVG or PDF export easy.



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