next up previous
Next: xpoints Up: simxlib Previous: x_drawable

xarcs


     NAME
	  xarcs	- part of Simula to Xlib interface

     DESCRIPTION
	     class XArcs(maxSize);
	     integer maxSize; !	The maximum number of arcs which can
	     be	stored ;
	  Data	structure  for	storing	 multiple  arcs.   Used	 as  a
	  parameter to X_Drawable operations (Draw/Fill)Arcs

	  SUPERS: no super ;
	  KIND:	Instantiable ;

     OPERATIONS
     Set
	     procedure Set(index,x,y,width,height,angle1,angle2);
	     integer index,x,y,width,height,angle1,angle2;
	  Set the data for the index'th	arc

     Get
	     procedure Get(index,x,y,width,height,angle1,angle2);
	     name x,y,width,height,angle1,angle2;
	     integer index,x,y,width,height,angle1,angle2;
	  Get the data for the index'th	arc

     SetSize
	     procedure SetSize(n);
	     integer n;	! Must not be larger than maxSize ;
	  Set the number of arcs to be stored in this XArcs object

     GetSize
	     integer procedure GetSize;
	  Returns the current number of	 arcs  stored  in  this	 XArcs
	  object