Category : C Source Code
Archive   : ARTOOLV1.ZIP
Filename : ART.C
/*
These routines are used to draw the polygon shapes that ARTOOL
produces.
Please compile and link into your own routines.
CopyRight (C) 1991 SunSet Software,34 Ridge Rd,Oak Ridge,NJ 07348
*/
void ArtFillPoly(int X,int Y,int NumVertices,int Vertices_xy[])
{
int points[100*2],i;
if(!NumVertices)
return;
for(i=0;i
points[i] = Vertices_xy[i]+X;
points[i+1] = Vertices_xy[i+1]+Y;
}
points[NumVertices*2] = points[0];
points[NumVertices*2+1] = points[1];
fillpoly(NumVertices+1,points);
}
void ArtDrawPoly(int X,int Y,int NumVertices,int Vertices_xy[])
{
int points[100*2],i;
if(!NumVertices)
return;
for(i=0;i
points[i] = Vertices_xy[i]+X;
points[i+1] = Vertices_xy[i+1]+Y;
}
points[NumVertices*2] = points[0];
points[NumVertices*2+1] = points[1];
drawpoly(NumVertices+1,points);
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/