gov.sandia.postscript
Class PSGraphics

java.lang.Object
  |
  +--java.awt.Graphics
        |
        +--gov.sandia.postscript.PSGrBase
              |
              +--gov.sandia.postscript.PSGraphics

public class PSGraphics
extends PSGrBase

PSGr1 is a Graphics subclass for Java 1.1 that images to PostScript. (C) 1996 E.J. Friedman-Hill and Sandia National Labs

Version:
2.1
Author:
Ernest Friedman-Hill, ejfried@ca.sandia.gov, http://herzberg.ca.sandia.gov

Fields inherited from class gov.sandia.postscript.PSGrBase
backClr, charsPerRow, clippingRect, clr, DEBUG, font, hd, os, PAGEHEIGHT, PAGEWIDTH, XOFFSET, YOFFSET
 
Constructor Summary
PSGraphics()
          Constructs a new PSGr1 Object.
PSGraphics(Writer o)
          Constructs a new PSGr1 Object.
PSGraphics(Writer o, boolean emitProlog)
          Constructs a new PSGr1 Object.
 
Methods inherited from class gov.sandia.postscript.PSGrBase
arcTo, clearRect, clipRect, copyArea, create, diagnostic, dispose, doArc, doImage, doPoly, doRect, doRoundRect, draw3DRect, drawArc, drawBytes, drawChars, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRoundRect, drawString, drawString, emitColorImageProlog, emitProlog, emitThis, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getClip, getClipBounds, getClipRect, getColor, getFont, getFontMetrics, getFontMetrics, grestore, gsave, lineto, moveto, scale, setBackground, setClip, setClip, setColor, setFont, setOutput, setPaintMode, setXORMode, stroke, toString, transformY, translate
 
Methods inherited from class java.awt.Graphics
create, getClipBounds, hitClip
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSGraphics

public PSGraphics()
Constructs a new PSGr1 Object. Unlike regular Graphics objects, PSGr contexts can be created directly.
Parameters:
o - Output stream for PostScript output
See Also:
PSGrBase.create()

PSGraphics

public PSGraphics(Writer o)
Constructs a new PSGr1 Object. Unlike regular Graphics objects, PSGr contexts can be created directly.
Parameters:
o - Output stream for PostScript output
See Also:
PSGrBase.create()

PSGraphics

public PSGraphics(Writer o,
                  boolean emitProlog)
Constructs a new PSGr1 Object. Unlike regular Graphics objects, PSGr contexts can be created directly.
Parameters:
o - Output stream for PostScript output
See Also:
PSGrBase.create()