/*
 * Copyright 1988 Anant Agarwal
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted, provided
 * that the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation.  No representations about the suitability of this software
 * for any purpose.  It is provided "as is" without express or implied 
 * warranty.
 *
 * Author:  Anant Agarwal, MIT Laboratory for Computer Science
 */

extern double getdegrees(), atan(), charheight(),charwidth(),log10(),mylog();


printbarcurves()
{
int c;/* current curve */
pointType ptPtr;/* current point */

	c = 0;
	while ((curves[c])->validcurve)
	{
		ptPtr = (curves[c])->fstPtr;
		if ((curves[c])->include)
		while (ptPtr != NIL)
		{
			/* line part */
			obj[curobj].name = objline;
			obj[curobj].un.line.line = (curves[c])->type;
			obj[curobj].un.line.interp = (curves[c])->interp;
			obj[curobj].un.line.thick = (curves[c])->thick;
			obj[curobj].scale = TRUE;
			obj[curobj].from[xpt] = ptPtr->prvPtr->pt[xpt];
			obj[curobj].from[ypt] = ptPtr->prvPtr->pt[ypt];
			obj[curobj].un.line.to[xpt] = ptPtr->pt[xpt];
			obj[curobj].un.line.to[ypt] = ptPtr->pt[ypt];
			curobj++;
			}
			ptPtr = ptPtr->nxtPtr;
		}
		c++;
	}

}

