Hi Dick,

> Thank you *very* much.  I appreciate your time and expertise.
> 
> For clarification, Are you saying that the implementation on top of 2.9 is
> different and superior in a significant way?

The implementation is superior because I can manipulate a wxBitmap directly 
with the wxNativePixelData and don't need to allocate memory. So it's surely 
faster. However, when I can figure out a platform independent way to get the 
color order, it should be as fast on wxWidgets 2.8 . I'll try to write a 
workaround.

> Obviously the stuff under
> wxWidgets has not changed, and to a large extent you are simply doing a
> bypass of wxWidgets from GAL to cairo or open gl, no?

OpenGL is no problem with 2.8/2.9, it's just the Cairo interface that has to be 
changed for the native backends or the current image backend.
 
> Is the 2.8 "good enough" for GAL to make a decent impression on first time
> observers?  Or do you recommend 2.9?  Or can be put a little of 2.9 into
> the
> GAL?

Well, on 2.8 it's slower - but for pure speed you need hardware acceleration, 
that OpenGL provides. I think for a useful impression a complex scene is also 
required. The quality looks of course already with Cairo much better than the 
OR-mode of the current KiCad implementation (OpenGL looks good as well with 
antialiasing forced). Another good thing is that you can define transparency 
for any object or layer.

Cairo is a software rasterizer; I've choosen it for a fallback solution when 
OpenGL doesn't work and it's useful as printing backend (PDF, SVG, PS, etc.) 
With Cairo you have also the option to use Freetype fonts. 

Cairo should be a good candidate for eeschema, for instance GEDA Gschem uses 
Cairo and the schematic quality looks much better than eeschema in my opinion.

Also for the best impression I think Cairo 1.10 should be used; because the 
image backend was much improved.

The drawing speed of Cairo depends on the effective use of the paths. A long 
path is better than drawing a lot of short paths. I'm trying that already, 
ideally many similar objects should be drawn after each other to maximize the 
path length. For example Text with the same stroke width or pads of the same 
diameter.

Bye ..
Torsten
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to