Zachery Bir wrote: > Has anyone taken a shot at wrapping CoreGraphics for Universal Python? > > I know Apple's CG bindings invent new, undocumented APIs for dealing > with the underlying libraries, but I don't have any experience > wrapping libraries with Python, and since CoreGraphics isn't Cocoa, > it's not a simple operation for PyObjC. > > Where to begin?
Here: http://svn.enthought.com/enthought/browser/trunk/src/lib/enthought/kiva/mac I haven't tried it with Universal Python, yet, and some work needs to be done to connect it up to Cocoa NSViews, but most of the CoreGraphics API is wrapped. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig