home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / scase.zip / SCASE.Z / LINE.CC < prev    next >
C/C++ Source or Header  |  1994-10-18  |  1KB  |  36 lines

  1. /******************************************************************************
  2. *                         ** Company Confidential **
  3. *                  ** Copyright 1994, All rights Reserved **
  4. * %Z%%M% version %I% date:%G%
  5. ******************************************************************************/
  6.  
  7. // -MQBeg- [Module_Includes] [Line_cc] <0000005B.00000000> Retained!
  8. #include <stdio.h>
  9. #include "shape.h"
  10. #include "line.h"
  11. // -MQEnd- [Module_Includes] [Line_cc] <0000005B.00000000> 
  12.  
  13. // -MQBeg- [Module_Declarations_1] [Line_cc] <0000005B.00000000> Retained!
  14. // -MQEnd- [Module_Declarations_1] [Line_cc] <0000005B.00000000> 
  15.  
  16. // -MQBeg- [Class_Body] [Line] <0000005E.00000003> 
  17. /******************************************************************************
  18.                                      Line
  19. ******************************************************************************/
  20.  
  21. void
  22. Line::Draw()
  23. {
  24. // -MQBeg- [Op_Body] [Line::Draw] <0000005E.00000011> Retained!
  25.   char style = this->GetStyle();
  26.   for (int i=0; i<Length; i++)
  27.     putchar(style);
  28.   putchar('\n');
  29. // -MQEnd- [Op_Body] [Line::Draw] <0000005E.00000011> 
  30. }
  31.  
  32. // -MQEnd- [Class_Body] [Line] <0000005E.00000003> 
  33.  
  34. // -MQBeg- [Module_Declarations_2] [Line_cc] <0000005B.00000000> Retained!
  35. // -MQEnd- [Module_Declarations_2] [Line_cc] <0000005B.00000000> 
  36.