Description: Write a drawing applet MiniDraw, required drawing a straight line (Line), Oval (Ellipse), rectangular (Rectangle), polygons (Polygon) and other graphic elements (primitives).
Xu Yong of each pixel of a class (object) to encapsulate, as CLine, CEllipse, CRect, CPolygon
A variety of primitives from a parent class CShape to succeed
Each pixel of the drawing is not the same, but draw the interface in the parent class is the same, so you can learn and use class polymorphism.
To Search:
- [MiniDraw] - Using VC++6.0 to prepare the Paint progr
- [STL] - You can now begin to learn to program us
- [ImageWarp] - IDW method and RBF methods with CDIB ima
File list (Check if you may need any files):
Shape\Shape.clw
.....\ReadMe.txt
.....\StdAfx.h
.....\StdAfx.cpp
.....\MainFrm.h
.....\MainFrm.cpp
.....\ChildFrm.h
.....\ChildFrm.cpp
.....\ShapeDoc.h
.....\ShapeDoc.cpp
.....\Shape.dsw
.....\Shape.ncb
.....\Resource.h
.....\Shape.aps
.....\Shape.rc
.....\Shape.plg
.....\ShapeView.h
.....\Debug\Shape.res
.....\.....\vc60.idb
.....\.....\Shape.pch
.....\.....\vc60.pdb
.....\.....\StdAfx.obj
.....\.....\ShapeDoc.obj
.....\.....\MainFrm.obj
.....\.....\ChildFrm.obj
.....\.....\Shape.pdb
.....\.....\console.obj
.....\.....\ShapeView.obj
.....\.....\Shape.obj
.....\.....\Shape.ilk
.....\.....\Shape.exe
.....\res\Shape.rc2
.....\...\ShapeDoc.ico
.....\...\Shape.ico
.....\...\Toolbar.bmp
.....\ShapeView.cpp
.....\Shape.h
.....\Shape.cpp
.....\Shape.dsp
.....\Shape.opt
.....\Debug
.....\res
Shape