Graphics Library

Discussion in 'Mac Programming' started by Aresti, Jun 17, 2008.

  1. macrumors newbie

    Joined:
    Jun 17, 2008
    #1
    Hello, I want to draw in 2d, I want to use xcode and c++. My partners at University use dev++ and a library..., I have a mac and i want to know which graphic library works with xcode and c++.
    Yours
     
  2. macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
    #2
    Realize that Xcode is just an IDE. Windows tends obscures the distinction since the you can't program on Windows without an IDE, but it's a good point to keep in mind as you move towards developing in *nix that IDEs and languages aren't coextensive.

    OK, so getting off my high-horse about the IDE bit, what you want to read up on is Quartz2D, which is part of the Core Graphics API.
     
  3. macrumors regular

    Joined:
    Oct 14, 2005
    Location:
    Troy, NY
    #3
    You could also use SDL. It's cross-platform and has C++ support. My group wrote a video game with it as it supports graphics, audio, and video.
     
  4. thread starter macrumors newbie

    Joined:
    Jun 17, 2008
    #4
    Thanks for the answers, I read something about quartz on the xcode tutorials , but does it works for c++ or just cocoa?
     

Share This Page