MCO wrote: >> MCO wrote: >>> Hello FLTK programmers, >>> >>> I recently wrote some FLTK-related blog posts I'll share here. >>> >>> The first one shows how to use the light version of the Anti-Grain library >>> from fltk ( less featured than full AGG, but small code) : >>> http://dtedm.blogspot.com/2009/03/fltk-agg-lite.html >>> >>> The second one shows how the tinyscheme interpreter can be used from Fltk, >>> in two parts ( I might add some further examples) : >>> >>> http://dtedm.blogspot.com/2009/03/fltk-tinyscheme-1.html >>> http://dtedm.blogspot.com/2009/03/fltk-tinyscheme-2.html >>> >>> Of course, this should be considered 'proof of concept' code but, hey, I >>> thought it might prove useful to some of you guys. >>> >>> Manuel >>> >>> >> MCO, can you write something more about benefits a potential user has by >> using AGG instead of Cairo? I always saw these two as competitors, and >> always chose Cairo over AGG. Granted, I did not do any serious >> evaluation of the AGG. Last time I checked examples they were incredibly >> slow comparing to lightning-fast Cairo... >> >> Kind regards > > Hello, > > I'm afraid I don't know much about Cairo. Furthermore, I'm not sure AGG Light > has anything to do, in terms of core algorithms, with the full AGG library > ... It looks like some code Maxim Shemanarev wrote ( based on Freetype ) > before he worked on the full library. I used it because I needed a way to > draw non-realtime anti-aliased graphics. > > But let's define 'fast' and I could work on some benchmark code. What would > be a good test ? > > Kind regards, > > Manuel > >
Do not get me wrong, I was just curious about the speed of AGG, because some few years ago when I checked some examples it was very slow. Anyway, a common test of speed is to replicate some complex shape thousands or even a million of times, and compare times needed to do so. I think, in the long run, it could be good to add AGG backend to FLTK. However, keep in mind that Cairo has AGG backend too. ;) No idea how functional it is though, I just know it exists... Kind regards Dejan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

