[wx-dev] cairo graphics context implementation into generic ?
Bill Baxter
wbaxter at gmail.com
Tue Oct 3 05:59:27 PDT 2006
It's really great that work is underway on a better drawing API.
I seem to have missed the initial discussion -- just caught wind of it
on the wx-python list recently. When is it scheduled for release?
2.7.x?
I've been doing some work on the wxArt2D library's low-level drawer
class recently. I'm curious if this new wxGraphicsContext or wxGCDC
could possibly serve as a replacement for that.
Anyway, the two are quite similar in goals (basically provide a wxDC
replacement that supports high quality rendering). a2dDrawer2d does
this via an AGG back-end. But it also wraps the wxDC API so that you
can trade off quality for speed if that's your preference. Will
wxGCDC also offer a wxDC backend?
And how about an AGG backend? Is there any interest in that?
Currently AGG supposedly beats Cairo for speed, mainly because, as I
understand, Cairo just hasn't made performance a priority yet.
In the mean time I'm hacking on the a2d Agg backend thinking, hmm
maybe I should be putting this effort into a wxGCDC AGG backend
instead.
--bb
On 10/3/06, Vadim Zeitlin <vadim at wxwindows.org> wrote:
> On Tue, 3 Oct 2006 13:34:26 +0200 Stefan Csomor <csomor at advancedconcepts.ch> wrote:
>
> SC> should I place the cairo graphics context implementation into the
> SC> generic dir, so that we could eventually use it on any platform that has
> SC> cairo installed ? and then bracket it with HAS_CAIRO or something alike
> SC> ?
>
> Yes, I think this is exactly what needs to be done. It would be great if
> it could be used in parallel with the native implementation too, this would
> be invaluable for testing.
>
> Thanks,
More information about the wx-dev
mailing list