kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #04256
Re: wxDC & wxGraphicsContext Test [3 Attachments]
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Torsten Hüter" <torstenhtr@...>
-
Date:
Wed, 17 Feb 2010 17:59:27 +0100
-
In-reply-to:
<4B7C197E.30608@...>
Hi Guys,
However it has to be said ( or written ), that Marco's tests are not very representative. You can't put everything in one drawing path - a path is AFAIK defined for one pen size / color.
There are many other choices too - just read my posting about the different graphics backends.
Cairo can be used directly - I'd assume that's much easier than trying GDI+ on windows - the GTK group maintains the port for Windows / MINGW. http://www.gtk.org/download-windows.html
wxGraphicsContext is basically a abstraction layer for Cairo - most functions are very similar - however Cairo supports even much more functions.
Another variant is the use of OpenGL and its hardware acceleration.
--
I'm writing currently a better benchmark for wxGC and OpenGL - first tests on my notebook show that OpenGL draws lines at least 30x faster than wxGC. I'll try also Cairo with wxWidgets.
I had problems with boost::timer - the value seems to be incorrect (?)
Bye ..
Torsten
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
Follow ups
References