6 CURMODE CurMode
= DRAWPOLY
;
8 void DrawBox(int, int, int);
9 void DrawSqr(int, int, int);
15 if( GetNumSegs() < 1 ) {
33 /* one of Leonaards Additions */
41 if( PrevSegNo() != GetNumSegs() ) {
47 StartPtX( GetCurSeg()) = x
;
48 StartPtY( GetCurSeg()) = y
;
50 if( PrevSegNo() != GetNumSegs() ) {
66 if( NextSegNo() != GetFirstSeg() ) {
72 EndPtX( GetCurSeg()) = x
;
73 EndPtY( GetCurSeg()) = y
;
75 if( NextSegNo() != GetFirstSeg() ) {
87 void EditControl0(x
,y
)
92 Cntrl1X(GetCurSeg()) = x
;
93 Cntrl1Y(GetCurSeg()) = y
;
98 void EditControl1(x
,y
)
103 Cntrl2X(GetCurSeg()) = x
;
104 Cntrl2Y(GetCurSeg()) = y
;