[Skencil-users] Fwd: Fwd: Join forces for skencil1/sK1?
Igor Novikov
igor.e.novikov at gmail.com
Fri Jul 13 13:00:07 CEST 2007
> It's complex relative to my goal, which was to get something working
> in a day or less. :-)
Of course it is not one-day task. Remapping of Xlib function calls to Win32
GDI is not trivial task.
What's non portable about Pyrex? I picked it thinking it was as
> cross-platform as Python. Not so? Maybe I need to take another look
> at ctypes. I thought ctypes was primarily for wrapping pre-existing C
> code, and Pyrex was better/easier if you wanted to write an extension
> module from scratch and didn't mind it being tied to Python.
Drawing module uses Xlib or GDI or Aqua, i.e. pre-existing C code.
Therefore
ctypes based implementation will be more flexible and doesn't require
recompilation on each platform. It's a pure Python code without native part.
Igor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wald.intevation.org/pipermail/skencil-users/attachments/20070713/b3024690/attachment.html
More information about the Skencil-users
mailing list