r15 - 16 May 2006 - 09:16:28 - DavidSurovellYou are here: OSAF >  Projects Web  >  DevelopmentHome > WxPythonProject > WxMacCoreGraphicsWork

wxWidgets - wxMac - CoreGraphics development

Subproject Kiosk

Draft 0.2

David Surovell

Chandler GUI Frameworks Engineer, OSA Foundation

13 December 2005







Overview

In wxMac, there are two rendering engine implementations: QuickDraw (QD) and CoreGraphics (CG). There is a build setting to select the desired engine, wxUSE_CORE_GRAPHICS, which currently defaults to the QD variant. The CG variant is new and feature-incomplete, but will ultimately be the preferred rendering engine, as QD rendering is been declared deprecated by Apple.

The Apps Team has undertaken coding effort to implement the missing features that impact Chandler. The presumption is that this list is small and approaching zero in the near future. This presumption shall be reviewed from time to time.

Collaborators

Stefan Csomor, David Surovell; Arel Cordero (ex-intern, interested party)

Status

  1. (13-Dec-05) all known issues have been resolved
    • issue is essentially closed, assuming no new issues are found by QA



  2. (30-Aug-05) OSAF work has been integrated into wx with conditional compilation control
  3. CG build flag is off in Chandler
  4. wxPen and wxBrush instances with a stipple style partially supported
  5. wxPen and wxBrush instances with a dash style != wxSOLID style aren't supported
    • implementation is being debugged
    • open issue: can stipple and non-wxSOLID style be combined?
      • hope not!
    • open issue: should dash, hatch, dot, and user-dash style texturing be path-oriented or raster-oriented?
      • CGContextSetLineDash is path-oriented; other wxWidgets implementations are raster-oriented.



Coding notes

  1. the code is entirely contained in the ".cpp" file for convenience of diff insertion and reduction of compile time.



  2. the argument lists for the new helper routines could be simplified if a CGPatternRef could be queried for "colored" attribute.



  3. the code injected into the wx version returns untyped negative error values. These values should be mapped into some generic wx error constants.

Related bugs

Bug 3048 Bug 3795

Open issues (in priority order)

  1. see above

Fixed issues

  1. see above
PageInfo
PageType HomePage
MaintainedBy DavidSurovell
PageStatus Work in progress -- this page is still being drafted?
Trash.CommentsWelcome2 Feel free to contribute comments?
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r15 < r14 < r13 < r12 < r11 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.