Click to See Complete Forum and Search --> : virtual draw??


libby
April 7th, 1999, 06:18 PM
This is in a Win32 console application. I have a hierarchy of classes that are shape objects such as circle and square, with a base class of shape. Im trying to find out how to draw the shapes...help I dont even know how to draw a line. Thank you, Libby

Gomez Addams
April 7th, 1999, 06:32 PM
Check out the DRAWCLI sample. It illustrates drawing graphical objects.
You might find it easier to draw graphical objects with a GUI app.

libby
April 7th, 1999, 06:48 PM
Thank you very much. Im looking at it now, I really appreciate it, In my class we are just now learning about virtual functions and inheritance. This program that I have to turn has derived classes that calculate info on the shapes, such as area and perimeter. This function is for extra credit and they told us that it would be easier using a real windows application. Thank you again