#ifndef lint
static char SccsCurdefId[] = "%W%  %G%";
#endif

/* Module:	Cursor.def
 * Purpose:	Declare and initialize cursor structure
 * Modified:	{0} Michael VanHilst	initial version		  5 June 1989
 *		{n} <who> -- <does what> -- <when>
 */

struct cursorRec cursor = {
 {	/* CurFCoord file;		file coordinates */
  -1.0,0.0,	/* float X, Y;		center dimension (or other ref) */
   10.0,10.0,	/* float Xdim, Ydim;	dimension appropriate to type */
   0.0 },	/* double area;		area if computed */
 {	/* CurWCoord win;		window coordinates */
   NULL,	/* Display *display;	display where draw */
   NULL,	/* Window ID;		drawable where to draw */
   0, 0,	/* int x, y;		integer center coordinates */
   0.0,0.0,	/* double X, Y;		float center coordinates */
   0.0,0.0 },	/* double rayX, rayY;	center to side distance */
 {	/*  CurRot rot;			rotation angle parameters */
   0.0,		/* double angle;	rotation angle in radians */
   0.0,-1.0,	/* double sin, cos;	sin and cos of angle */
   0.0,0.0 },	/* double cut_A, cut_B;	angles of pie cut */
 {	/* CurCtrl ctrl;		interactive control parameters */
   0,		/* int active_vertex;	index of vertex being maniputated */
   0,		/* int active_side;	sizing of x dim, y dim, or both */
   1.0 },	/* double axis_ratio;	fixed ratio of Xdim and Ydim */
	/* int type;			type (code in Constant.h) */
 COP_Point,
 0,	/* int cut;			apply-pie-cut flag */
 0,	/* int label_point;		label-the-point flag */
 1,	/* int overwrites_image_data;	cursor-overwrites-image-data */
 0,	/* int index;			index for regions and annuli */
 0,	/* int exclude_region;		region type and suppress drawing */
 NULL,	/* int point_cnt;		number of points for XDrawLines */
 NULL,	/* XPoint *points;		absolute-coord drawing vertices */
 0,	/* int rectangle_cnt;		number of hash-mark boxes */
 NULL,	/* XRectangle *rectangles;	for XDrawRectangles */
 0,	/* int poly_cnt;		number of vertices in polygon */
 NULL,	/* PolyPoint *poly;		array of polygon vertex coords */
 0,	/* int annuli;				annuli of this type */
 NULL,	/* struct cursorRec *next_annulus;	annulus linklist */
 NULL,	/* struct cursorRec *next_region;	region linklist */
 NULL,	/* GCspec *draw;		color set to draw this cursor */
};
