I am fairly new to c++, and I want to be able to draw a polygon. When I have searched for how to draw one, the only thing i can find is scripts doing things like this:
*
**
***
****
*****
I doubt that c++ is that primitive, and I'm looking for something like the c++ equivalent of this python script:
Syntax: draw.polygon((20,20)(30,30)(50,30)(20,40)(20,20), fill(green))
Not very important but, it is kind of annoying
i am using a mac os 10.9
Well first you'll want a main window program, (or equivalent if there's something else needed for other OS's than Windows).
Then you'll want to plug your graphics library into that.
I personally haven't used the little "helper libs" yet, I just dive strait in to the big stuff like pure DirectX (none of the SDL stuff XD ).
Try this out for size if you're more like me (erm, and it's windows only DX)...