File ps/Display


class ps.Display

Inherits

State supers
tag.Display, tom.Constants

methods

void
  load tom.MutableArray arguments;
Register this CIT to TAG.

instance (id) (display)
  openDisplay tom.String name;
Return a new display that outputs the postscript code to a file with the name.

instance ps.Display

variables

public tom.File output;
The file to which we output our code.
Screen screen;
Our screen (sort of).

methods

void
  close;
Close this display.

Screen
  defaultScreen;
Undocumented.

id
  initToFileNamed tom.String file_name;
Designated initializer. Return nil if opening the display failed.

class (CachedImageRep)
  cachedImageRepClass;
Return the CachedImageRep class to be used to display on this Display.

void
  clipToRect (float, float, float, float) (x, y, w, h);
Start clipping to the indicated rectangle on the currently locked_view.

void
  unclip;
Cancel a previous clipToRect.

void
  doLockView tag.View v;
Undocumented.

void
  doUnlockView tag.View v;
Undocumented.

void
  drawLine (float, float, float, float) (x1, y1, x2, y2);
Undocumented.

void
  fillRect (float, float, float, float) (x, y, w, h);
Undocumented.

void
  setColor tag.Color c;
Undocumented.

void
  setFont tag.Font f;
Undocumented.

void
  show tom.String text
    at (float, float) (x, y);
Undocumented.

Font
  fontNamed tom.String name
       size int size;
Undocumented.

Font
  systemFont;
Undocumented.

void
  closepath;
Close the current path.

void
  curveto (float, float, float, float, float, float) (x1, y1, x2, y2, x3, y3);
Undocumented.

void
  eofill;
Undocumented.

void
  fill;
Undocumented.

void
  lineto (float, float) (x, y);
Undocumented.

void
  newpath;
Undocumented.

void
  rlineto (float, float) (x, y);
Undocumented.

void
  moveto (float, float) (x, y);
Undocumented.

void
  rmoveto (float, float) (x, y);
Undocumented.

void
  stroke;
Undocumented.


Generated by tm 1.01.