On 02/23/12 07:07, james wrote:
> As a part of my project torapp guilloche designer(www.torapp.info), I used 
> cairo to render everything, and the output is amazing.

        Yes; the mechanical precision of how cairo draws edges
        really changes everything. From your app's gallery:
        http://i40.servimg.com/u/f40/17/20/30/41/rosett10.jpg

> (Though, occasionally, cairo can have problem to draw too many curves on a 
> small area).
> However, I did observe that my application's cairo version was about 100x 
> slower than
> my linux x11 version. and most of the time is spent in cairo.
> Even though the amazing performance drop is not all cairo's fault
> since I did not tune cairo's code path yet (I'm using cairo inside
> Chrome, so I have very few options to tune). it is a good reference
> for anyone interested in cairo for fltk.

        Interesting.. we should probably make a cairo demo that
        draws lots of shapes and curves, letting one use a slider
        to control the complexity, so that one can see speed issues
        as the complexity increases, or some such.

        I haven't really poked around with cairo beyond just seeing
        that it compiled and ran; almost all of the stuff I do is
        UI widget dependent, and doesn't draw shapes.

        Though it might be interesting if someday FLTK could draw
        all its widgets with cairo. Then we could have skinning
        that could make interfaces look really great.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to