1 // HelpEdLine.cpp: implementation of the HelpEdLine class.
3 //////////////////////////////////////////////////////////////////////
7 #include "helpedline.h"
11 static char THIS_FILE[]=__FILE__;
15 //////////////////////////////////////////////////////////////////////
16 // Construction/Destruction
17 //////////////////////////////////////////////////////////////////////
19 HelpEdLine::HelpEdLine()
24 HelpEdLine::~HelpEdLine()
29 HelpEdLine::HelpEdLine(CPoint point_from, CPoint point_to)
31 // intiliaze start and ending of a line
32 line_start = point_from;
36 void HelpEdLine::Draw(CDC *pDC)
39 pDC->MoveTo(line_start);
40 pDC->LineTo(line_end);