tom.OutputStream help tom.OutputStream s done tom.MutableKeyed done;
void load tom.MutableArray arguments;
instance (id) (display) openDisplay tom.String name;
name
, and return it. Upon success,
the display has been registered with the tag.Display
class.
private void closeDisplay pointer d;
d
.
public pointer display;
public tom.String name;
tom.MutableIndexed screens;
tom.MutableIntDictionary windows;
tom.MutableDictionary fonts;
public Font current_font;
pointer locked_screen;
public int locked_window;
float bl_x;
float bl_y;
Subpath current_path;
class (CachedImageRep) cachedImageRepClass;
CachedImageRep
class to be used to display on this
Display
.
void close;
id init tom.String display_name;
private id do_init tom.String display_name;
display_name
. Return
nil
if opening the display failed.
void doLockView tag.View v;
void doUnlockView tag.View v;
void updateLockedView;
void beep;
void drawImage CachedImageRep rep at (float, float) (x, y);
void drawLine (float, float, float, float) (x1, y1, x2, y2);
void fillRect (float, float, float, float) (x, y, w, h);
void setColor tag.Color c;
void setFont Font f;
void setXColor XColor c;
void show tom.String text at (float, float) (x, y);
void copyRect (float, float, float, float) (rx, ry, rw, rh) to (float, float) (x, y);
locked_view
to the
destination point.
void clipToRect (float, float, float, float) (x, y, w, h);
locked_window
.
void unclip;
clipToRect
.
tom.Indexed screens;
void addWindow Window window key int x_win_id;
window
that it now exists on the receiving
dislay.
void clearWindow int w;
w
. This fills the window with
its background colour (with whatever attributes).
void frameWindow int window to (float, float, float, float) (x, y, w, h);
window
.
void moveWindow int window to (float, float) (x, y);
void mapWindow int window raised boolean raised;
window
.
void setTitle tom.String title ofWindow int w;
void unmapWindow int w;
window
.
Dispatching events
void dispatch;
int eventsQueued int when;
id flushOutput;
private void internalDispatch;
void readEventOnDescriptor tom.Descriptor d;
too.DescriptorReadDelegate
pointer loadFont tom.String name;
Font fontNamed tom.String name size int size;
name
and size
. It is possible that
the size
is ignored.
Font systemFont;
void closepath;
void curveto (float, float, float, float, float, float) (x1, y1, x2, y2, x3, y3);
void eofill;
void fill;
void flattenpath;
current_path
with a flattened
version.
void lineto (float, float) (x, y);
void newpath;
void moveto (float, float) (x, y);
(float, float, float, float) (x1, y1, x2, y2) pathbbox;
current_path
.
void stroke;