Next: x_window
Up: simxlib
Previous: xsegments
xtextitems
NAME
xtextitems - part of Simula to Xlib interface
DESCRIPTION
class XTextItems(maxSize);
integer maxSize; ! The maximum number of arcs which can
be stored ;
Data structure for storing multiple text strings. Used as a
parameter to X_Drawable operation DrawText
SUPERS: no super ;
KIND: Instantiable ;
OPERATIONS
Set
procedure Set(index,font,delta,string);
ref(X_Font) font;
integer index,delta;
text string;
Set the data for the index'th text item
Get
procedure Get(index,font,delta,string);
name font,delta,string;
ref(X_Font) font;
integer index,delta;
text string;
Get the data for the index'th text item
SetSize
procedure SetSize(n);
integer n; ! Must not be larger than maxSize ;
Set the number of text items to be stored in this object
GetSize
integer procedure GetSize;
Returns the current number of text items stored in this
object