CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: virtual draw??

  1. #1
    Join Date
    Apr 1999
    Posts
    9

    virtual draw??

    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


  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: virtual draw??

    Check out the DRAWCLI sample. It illustrates drawing graphical objects.
    You might find it easier to draw graphical objects with a GUI app.



  3. #3
    Join Date
    Apr 1999
    Posts
    9

    Re: virtual draw??

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured