View Full Version : Graphics Library
Jun 17, 2008, 10:41 PM
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++.
Jun 18, 2008, 12:13 AM
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.
Jun 18, 2008, 12:24 AM
You could also use SDL (http://www.libsdl.org/). It's cross-platform and has C++ support. My group wrote a video game with it as it supports graphics, audio, and video.
Jun 18, 2008, 12:39 AM
Thanks for the answers, I read something about quartz on the xcode tutorials , but does it works for c++ or just cocoa?