home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
scase.zip
/
SCASE.Z
/
LINE.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-18
|
1KB
|
36 lines
/******************************************************************************
* ** Company Confidential **
* ** Copyright 1994, All rights Reserved **
* %Z%%M% version %I% date:%G%
******************************************************************************/
// -MQBeg- [Module_Includes] [Line_cc] <0000005B.00000000> Retained!
#include <stdio.h>
#include "shape.h"
#include "line.h"
// -MQEnd- [Module_Includes] [Line_cc] <0000005B.00000000>
// -MQBeg- [Module_Declarations_1] [Line_cc] <0000005B.00000000> Retained!
// -MQEnd- [Module_Declarations_1] [Line_cc] <0000005B.00000000>
// -MQBeg- [Class_Body] [Line] <0000005E.00000003>
/******************************************************************************
Line
******************************************************************************/
void
Line::Draw()
{
// -MQBeg- [Op_Body] [Line::Draw] <0000005E.00000011> Retained!
char style = this->GetStyle();
for (int i=0; i<Length; i++)
putchar(style);
putchar('\n');
// -MQEnd- [Op_Body] [Line::Draw] <0000005E.00000011>
}
// -MQEnd- [Class_Body] [Line] <0000005E.00000003>
// -MQBeg- [Module_Declarations_2] [Line_cc] <0000005B.00000000> Retained!
// -MQEnd- [Module_Declarations_2] [Line_cc] <0000005B.00000000>