File tag/tag


class tag.tag

Inherits

State supers
tom.State, tom.stdio, tom.Conditions, Constants

variables

local static Display printer_display;
Iff we're printing in this thread, this is the printer's Display.
local static Display system_display;
For any View objects created in this thread, this Display will supply the systemFont and other goodies.

methods

tom.OutputStream
  error;
Undocumented.

(float, float) (x, y)
  clipPoint (float, float) (x, y)
         to (float, float, float, float) (x1, y1, w1, h1);
Adjust the point to lie within the rectangle.

(float, float)
  clipLine (float, float) (x1, l1)
        to (float, float) (x2, l2);
Return that part of the first line that has all its points in common with the second line. Both lines start at x and run for l `pixels'.

(float, float, float, float)
  clipRect (float, float, float, float) (x1, y1, w1, h1)
        to (float, float, float, float) (x2, y2, w2, h2);
Return that part of the first rectangle that lies within the second rectangle.

boolean
        rect (float, float, float, float) (x1, y1, w1, h1)
  intersects (float, float, float, float) (x2, y2, w2, h2);
Return TRUE iff there is at least one point common to both argument rectangles.

(float, float, float, float)
  unionRect (float, float, float, float) (x1, y1, w1, h1)
       with (float, float, float, float) (x2, y2, w2, h2);
Return the rectangle enclosing just both argument rectangles. If either rectangle has a zero width or height, the other rectangle is returned.

boolean
   point (float, float) (p_x, p_y)
  inRect (float, float, float, float) (x, y, w, h);
Return TRUE iff the point (p_x, p_y) lies within the rectangle described by (x, y, w, h).

instance tag.tag

methods

tom.OutputStream
  error;
Undocumented.

deferred tom.String
  substring (int, int) (a, b);
Undocumented.


Generated by tm 1.01.