home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / tcl_447.lzh / TCL / tcl.lzh / tcl / help / display < prev    next >
Text File  |  1990-05-03  |  1KB  |  42 lines

  1. The display command draws into the current window as set by the "window
  2. current" command.
  3.  
  4.     display draw x y
  5.         draw from the current drawing position to window-relative (x,y)
  6.  
  7.     display move x y
  8.         move the current drawing position to window-relative (x,y)
  9.  
  10.     display text message
  11.         write text message at the current drawing position
  12.  
  13.     display apen value
  14.         set the color of the A-pen to value
  15.  
  16.     display bpen value
  17.         set the color of the B-pen to value
  18.  
  19.     display mode [jam1] [jam2] [complement] [inversvid]
  20.         set the draw mode to the logical OR of all the specifiers
  21.         following "mode"
  22.  
  23.     display pixel x y
  24.         draw a pixel at window-relative location (x,y)
  25.  
  26.     display textwidth text
  27.         determine the width "text" would occupy if output
  28.         to the current window with the current attributes
  29.  
  30.     display fontheight
  31.         return the height of the current font in pixels
  32.  
  33.     display font fonthandle
  34.         select for the current window the font identified by fonthandle,
  35.         where fonthandle was returned by a "font open" command
  36.  
  37.     display fontstyle [normal] [underlined] [bold] [italic] [extended]
  38.         do a SetSoftStyle on the font for the current window to be
  39.         the logical "or" of underlined, bold, italic and extended.
  40.  
  41.  
  42.