Glimmr Drawing Commands

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Global variables
    [The global variables support a very brief form of drawing command; they are not used for the standard length commands.]

    The current graphics window is a g-window that varies.
    The current foreground-color is a number that varies. The current foreground-color is usually 0.
    The current background-color is a number that varies. The current background-color is usually 0.
    The current font is a font that varies.

    [These are here only to overcome I7's limitation on the number of local variables that can be present in a single routine. They are not user-modifiable, since they will be set within the drawing routines.]
    The g-imgwidth is a number variable. The g-imgwidth is 0.
    The g-imgheight is a number variable. The g-imgheight is 0.
    The current g-row is a number variable. Current g-row is 0.
    The current g-column is a number variable. Current g-column is 0.