home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-1.iso / CDROM / READMEs / Peanuts-3 / Tools / screen / background.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  1.5 KB  |  38 lines

  1. The 'background' csh script changes the screen background color/image via pft
  2.  
  3. Usage background -reset
  4.       background -gray GrayShade
  5.       background -RGB Red Green Blue
  6.       background -{file, center, scale, minscale, tile, debug} FileName
  7.  
  8. 0.0 <= GrayShade, Red, Green, Blue <= 1.0
  9. FileName = Encapsulated PostScript file.
  10.  
  11. Options can be shortened to just their first letter, eg. 'background -g 0.666'
  12. The 'gray' & 'RGB' options can be combined with 'file', 'center' and 'minscale'
  13.  
  14. The 'file' option just puts up an image at {0,0}, the 'center' option centers
  15. the image on the screen instead.  The 'scale' and 'minscale' fit the image to
  16. the screen -- 'scale' maintains aspect ratio, 'minscale' doesn't.  The 'tile'
  17. option tiles the screen with an image.  Only one of these options should be
  18. used at a time.
  19.  
  20. Modified by Gilles Detillieux (gilles@scrc.UManitoba.CA) Jan 9-11/91:
  21. - fix BoundingBox handling to allow negative origin, handle missing space
  22. - add "0 setgray" before file copied
  23. - add -debug option to see generated code
  24. - change window handling so it works under 2.0
  25.  
  26. Updated Aug 25/93 - cdl
  27. - rewrote window handling so it works under 3.1
  28.   (awful hack might even be backward compatible)
  29.  
  30. Modified 4/18/94 - cdl
  31. - incorporated a setrgbcolor option ala Darcy Brockbank's USENET post
  32. - fixed bug in debug case statement
  33.  
  34. - Christopher Lane (lane@camis.stanford.edu) 4/18/94
  35.  
  36. Copyright '90, '91, '92 '93 & '94 by The Leland Stanford Junior University.
  37. This program may be distributed without restriction for non-commercial use.
  38.