Archived

This topic is now archived and is closed to further replies.

dreamer

help shape class

Recommended Posts

dreamer    122
i''m new in c++ i want to make a shape class with contains point,rectangle,triangle,circle and line.the program can draw and resize only.anyone have done this before can u send the program to me as an example or anyone can teach me how to write.

Share this post


Link to post
Share on other sites
Psybr    122
I assume you want to write a program like Microsoft''s Paint, but a deal simpler. From what you''re saying, I think you''re rather new to C++, and Windows programming in general (no offense.) I suggest you find a C++ book, or an online tutorial, which includes the GDI (Graphical Device Interface, which lets you draw shapes in Windows.)

Share this post


Link to post
Share on other sites
dreamer    122
hi thx for yr reply.do u have any reference website which i see any class sample and reference of GDI (Graphical Device Interface)

Share this post


Link to post
Share on other sites