Net_Owl_BC_done/Arty.cpp
/* The low-level Draw method of the object. */
The low-level Draw method of the object.
The low - level Draw method of the object .
void TList::Draw( HDC DC, int a1, int b1, int a2, int b2, long lPenColor )
{
  HPEN OldPen;
  OldPen = (HPEN)SelectObject(DC, CreatePen(PS_SOLID, 1, lPenColor));
  MoveTo(DC, a1, b1);
  LineTo(DC, a2, b2);
  DeleteObject(SelectObject(DC, OldPen));
}
void TList :: Draw ( HDC DC , int a1 , int b1 , int a2 , int b2 , long lPenColor ) { HPEN OldPen ; OldPen = ( HPEN ) SelectObject ( DC , CreatePen ( PS_SOLID , 1 , lPenColor ) ) ; MoveTo ( DC , a1 , b1 ) ; LineTo ( DC , a2 , b2 ) ; DeleteObject ( SelectObject ( DC , OldPen ) ) ; }
The low-level Draw method of the object.
The low - level Draw method of the object .