Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bobrik

macrumors member
Original poster
Apr 13, 2007
70
0
Prague, Czech Republic
Hi,

I have a Perl script that uses Perl bindings for Cairo and Gtk+, but I don't want to install that on my OS X machine, I would rather port it to Quartz (and the script is written modularly to be ported easily).

I googled for using Quartz from Perl and came with nothing, but Quartz already has Python bindings (demonstrated by Apple on their dev site) - is there really no Perl binding for Quartz?

Thanks for any answer.
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Are you sure that the Python bindings are directly to Quartz? I thought they were bindings to Cocoa...

If the latter is true then there are Perl bindings to Cocoa available. These should let you access Quartz via the normal Cocoa classes...
 

bobrik

macrumors member
Original poster
Apr 13, 2007
70
0
Prague, Czech Republic
Are you sure that the Python bindings are directly to Quartz? I thought they were bindings to Cocoa...
Well, I don't really know, I am referring to this: Python Bindings for Quartz 2D
If the latter is true then there are Perl bindings to Cocoa
Thanks a lot for the link, I hope I will be able to cook it up, the only problem is I don't know Perl, but hopefully I will get through it :)
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Hmm, OK those look like binding directly in CoreGraphics... Not sure if CamelBones will support that or not, it's not something I've ever actually used.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.