one area that was bothering me a lot was that stroke drawing was not
very smooth. I debug it and found that goocanvas is relatively slow at
drawing than gnomecanvas. This, in practice, meant that if you drew very
fast, instead of curves you got ugly looking polygons.

The rendering of the stroke _before_ you lift the pen is now doing
directly on the canvas. This has made the strokes way nicer. I think we
could optimize the code even further, but I don't think it is really
necessary. It now looks as good as with gnomecanvas.

the patch is now in github.

--dmg


--
Daniel M. German                  "For indeed who is there alive
                                   that will not be swayed by his
                                   bias and partiality to
    Jonathan Swift ->              the place of his birth?"
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to