(MAC) CoreGraphics module???
David Ullrich
ullrich at math.okstate.edu
Mon Nov 5 14:14:13 EST 2007
Robert Kern wrote:
> David C. Ullrich wrote:
>> On Sun, 04 Nov 2007 15:56:21 -0600, Robert Kern
>> <robert.kern at gmail.com> wrote:
>>
>>> David C. Ullrich wrote:
>>>> On Fri, 02 Nov 2007 14:09:25 -0500, Robert Kern
>>>> <robert.kern at gmail.com> wrote:
>>>>
>>>>> David C. Ullrich wrote:
>>>>>> [???]
>>>>> Okay, which version of OS X do you have? In 10.3 and 10.4 it used to be here:
>>>>> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/CoreGraphics.py
>>>>>
>>>>> I notice that in 10.5, it no longer exists, though.
>>>> Um, surely that doesn't mean that there's no CoreGraphics
>>>> available in 10.5?
>>> The CoreGraphics C library still exists, of course. The Python module they
>>> provided does not.
>> Right - I was referring to the Python module.
>>
>> Why would they do such a thing? (Never mind, I don't
>> imagine you know.)
>
> Apple was using it in their fax software. I'm not sure they ever intended it to
> be used by people external to Apple, though.
Could be,
> They certainly never documented it.
cuz most of the stuff they include _is_ much better (ie at least
somewhat) documented.
Very sad.
> I imagine they are no longer using it in their fax software.
>
>> Hmm, I saw somewhere the other day that PyObjC comes with 10.5.
>> Maybe that means there's no longer any point to a separate
>> CoreGraphics.py?
>
> No, they're different things. PyObjC does wrap a Cocoa drawing API, but that API
> does not cover nearly as much of the CoreGraphics API as CoreGraphics.py did.
>
More information about the Python-list
mailing list