View Full Version : Graphics Library

Jun 17, 2008, 09: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 17, 2008, 11:13 PM
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 17, 2008, 11:24 PM
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 17, 2008, 11:39 PM
Thanks for the answers, I read something about quartz on the xcode tutorials , but does it works for c++ or just cocoa?