VC++ - Line Drawing, Shapes and saving, using Document / view Architecture
/*
The cline Class
Our program stores the information about the lines thar are drawn in an array of cline objects. The cline
class is publicly derived from CObject. This makes it easy for us to add serialization support to the cline
class. so that the entire drawing can be saved or restored with just a few lines of code.
*/
// cline.h
class cline : public CObject
{
DECLARE_SERIAL ( cline )