Gerber, HR, Mnr <[EMAIL PROTECTED]> wrote: >> Yes they look nice. By GC do you mean GCDC or are you using the >> GraphicsContext's path-based API directly? > [Retief:] I did not know there was a difference! I started with the > wxPython demo and went from there. What makes the GCDC diffent from the > GC?
wx.GCDC is simply a reimplementaion of the wx.DC API on top of wx.GraphicsContext. So while it will give you the anti-aliased drawing for free while using a DC API, it will likely be slower because it has to recreate paths and other objects on the fly for any operations that need them. On the other hand using the GC API directly gives opportunities to optimize by caching these objects. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
