Graphics Library

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

  1. Aresti macrumors newbie

    Jun 17, 2008
    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++.
  2. yeroen macrumors 6502a


    Mar 8, 2007
    Cambridge, MA
    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. laprej macrumors regular

    Oct 14, 2005
    Troy, NY
    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. Aresti thread starter macrumors newbie

    Jun 17, 2008
    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