[wxPython-dev] 2.7 timeline
Robin Dunn
robin at alldunn.com
Fri Sep 29 12:58:14 PDT 2006
Lanier, Paul wrote:
> Thanks. I'll keep that in mind.
>
> I don't follow the wxWidgets dev list so maybe it was discussed there
> but do you know if there are any firm (as in someone is working on it)
> plans for an anti-alias rendering system (anti-alias DC, whatever would
> be decided).
Yep. Stefan (the main wxMac author) is working on it right now, (as I
type this even.) He and I chatted about it this morning.
A new path-based drawing API is being implemented along with a new
wxGraphicsContext class hierarchy that can create and use the paths.
You can see the current state of the API in the brand new graphics.h
file[1]. Under the covers it will use GDI+ on Windows, Cairo on *nix,
and CoreGraphics on OSX, with a possibility of also allowing Cairo to be
used on all platforms. There is also a wxDC derived class that is
implemented using wxGraphicsContext to act as a bridge between the old
way and the new. All stroking and filling will support alpha blending,
and I believe that anti-aliasing comes for free on all three targets.
I suppose it would also be possible to implement a context class for
other path-oriented targets such as postscript or AGG, but as far as I
know there are no solid plans for that yet.
[1] http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/include/wx/graphics.h
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list