Graphics

Jun 27, 2012 at 9:46pm
Hi! I was wondering if someone could explain to me how I could draw and manipulate graphics using C++. What are some of my options and how do I set them up? I'm currently using Visual Studio 2010.

On a side note, what would I have to know to create my own library to draw graphics?
Jun 27, 2012 at 10:14pm
Essentially, you ask the operating system to do it for you. This of course means that every operating system has a different set of APIs for you to call, and a different way of doing things.

An easier way to get started is to pick out of of the widget toolkits. They handle all the operating system specific stuff for you, leaving you to get on with actually thinking about what to display on screen.

http://en.wikipedia.org/wiki/List_of_widget_toolkits
Jun 27, 2012 at 10:36pm
Thank you, I will probably use one of those. However, suppose I wanted to make my own. How would I go about doing that?
Jun 27, 2012 at 10:49pm
Assuming you're on windows, you need to learn the Windows APIs. The Forger's notes have a good reputation: http://www.winprog.org/tutorial/
Topic archived. No new replies allowed.