home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / ENIGMX15.ZIP / PSBGI.PS < prev    next >
Text File  |  1993-04-20  |  1KB  |  62 lines

  1. %!PS-Adobe-2.0
  2. %
  3. % BGI Printer Driver Toolkit Postscript Header
  4. %
  5. % Copyright (c) 1990,1991 Ryle Design, PO Box 22, Mt. Pleasant MI 48804
  6. %
  7. % V1.10  12.91  thl
  8. %
  9. % Internal variables:
  10. %
  11. /linewidth 2 def
  12. %
  13. % Procedures called by PSBGI driver:
  14. %
  15. /INIT                           % BGI init        
  16. {
  17.     18 36 translate             % margins    
  18.     0.1 0.1 scale               % scale to decipoints
  19.     1.415 setmiterlimit         % bevels < 90 deg
  20. }
  21. bind def
  22. %
  23. /POST                           % BGI post
  24. {
  25.     showpage                    % show what we drew ...
  26. }
  27. bind def            
  28. %
  29. /VECT                           % BGI line & vect (x1,y1) to (x2,y2)
  30. {
  31.     newpath moveto lineto stroke   
  32. }
  33. bind def            
  34. %
  35. /LNWD                           % set line width
  36. {
  37.     linewidth mul setlinewidth
  38. }
  39. bind def
  40. %      
  41. /LNST                           % set line style
  42. {
  43.     0 setdash
  44. }
  45. bind def              
  46. %
  47. %
  48. /PIXL                           % BGI set pixel function
  49. {
  50.     newpath moveto
  51.     -1 -1 rmoveto
  52.     0 2   rlineto
  53.     1 0   rlineto
  54.     0 -2  rlineto
  55.     1 0   rlineto             
  56.     0 2   rlineto stroke
  57. }
  58. bind def
  59. %
  60. % End of PSBGI header
  61. %     
  62.