[wxPython-dev] 2.7 timeline

Lanier, Paul Paul.Lanier at analog.com
Fri Sep 29 13:15:15 PDT 2006


I might be interested in creating an Agg implementation.  The API is a
good starting point.  Is there also any documentation on the interface
between wxGraphicsPath and wxGraphicsContext or is it expected that they
will be created in pairs like wxGDIPGraphicsPath/wxGDIPGraphicsContext
where the interface between the pair is not standardized.

-Paul

-----Original Message-----
From: Robin Dunn [mailto:robin at alldunn.com] 
Sent: Friday, September 29, 2006 3:58 PM
To: wxPython-dev at lists.wxwidgets.org
Subject: Re: [wxPython-dev] 2.7 timeline

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!


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-dev-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help at lists.wxwidgets.org




More information about the wxpython-dev mailing list