Perl bindings for Quartz?

Discussion in 'Mac Programming' started by bobrik, Feb 10, 2009.

  1. macrumors member

    Joined:
    Apr 13, 2007
    Location:
    Prague, Czech Republic
    #1
    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.
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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...
     
  3. thread starter macrumors member

    Joined:
    Apr 13, 2007
    Location:
    Prague, Czech Republic
    #3
    Well, I don't really know, I am referring to this: Python Bindings for Quartz 2D
    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 :)
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    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.
     

Share This Page