xmlgraphics-commons 1.3.1

Uses of Class
org.apache.xmlgraphics.ps.PSGenerator

Packages that use PSGenerator
org.apache.xmlgraphics.java2d.ps Graphics2D implementations for generating PostScript and Encapsulated PostScript (EPS) files. 
org.apache.xmlgraphics.ps Classes for the creation of PostScript files. 
org.apache.xmlgraphics.ps.dsc Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions). 
org.apache.xmlgraphics.ps.dsc.events Event classes used by the DSC parser. 
org.apache.xmlgraphics.ps.dsc.tools Tools for working with DSC-compliant PostScript files. 
 

Uses of PSGenerator in org.apache.xmlgraphics.java2d.ps
 

Fields in org.apache.xmlgraphics.java2d.ps declared as PSGenerator
protected  PSGenerator PSGraphics2D.gen
          the PostScript generator being created
 

Methods in org.apache.xmlgraphics.java2d.ps that return PSGenerator
 PSGenerator PSGraphics2D.getPSGenerator()
           
 

Methods in org.apache.xmlgraphics.java2d.ps with parameters of type PSGenerator
 void PSGraphics2D.setPSGenerator(PSGenerator gen)
          Sets the PostScript generator
 

Constructors in org.apache.xmlgraphics.java2d.ps with parameters of type PSGenerator
PSGraphics2D(boolean textAsShapes, PSGenerator gen)
          Create a new Graphics2D that generates PostScript code.
 

Uses of PSGenerator in org.apache.xmlgraphics.ps
 

Methods in org.apache.xmlgraphics.ps with parameters of type PSGenerator
static void PSFontUtils.defineWinAnsiEncoding(PSGenerator gen)
          Defines the WinAnsi encoding for use in PostScript files.
static void PSFontUtils.embedType1Font(PSGenerator gen, java.io.InputStream in)
          This method reads a Type 1 font from a stream and embeds it into a PostScript stream.
 PSResource FormGenerator.generate(PSGenerator gen)
          Generates the PostScript form.
protected  void FormGenerator.generateAdditionalDataStream(PSGenerator gen)
          Generates some PostScript code right after the form definition (used primarily for bitmap data).
protected  void ImageFormGenerator.generateAdditionalDataStream(PSGenerator gen)
          Generates some PostScript code right after the form definition (used primarily for bitmap data).
protected abstract  void FormGenerator.generatePaintProc(PSGenerator gen)
          Generates the PostScript code for the PaintProc of the form.
protected  void ImageFormGenerator.generatePaintProc(PSGenerator gen)
          Generates the PostScript code for the PaintProc of the form.
static void PSImageUtils.paintForm(PSResource form, java.awt.geom.Dimension2D formDimensions, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)
          Paints a reusable image (previously added as a PostScript form).
static void PSImageUtils.paintForm(PSResource form, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)
          Deprecated. Please use PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator) instead.
static void PSImageUtils.paintReusableImage(java.lang.String formName, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)
          Deprecated. Please use PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator) instead.
static void PSFontUtils.redefineFontEncoding(PSGenerator gen, java.lang.String fontName, java.lang.String encoding)
          Redefines the encoding of a font.
 void PSState.reestablish(PSGenerator gen)
          Reestablishes the graphics state represented by this instance by issueing the necessary commands.
static void PSImageUtils.renderBitmapImage(java.awt.image.RenderedImage img, float x, float y, float w, float h, PSGenerator gen)
          Renders a bitmap image to PostScript.
static void PSImageUtils.renderEPS(byte[] rawEPS, java.lang.String name, float x, float y, float w, float h, float bboxx, float bboxy, float bboxw, float bboxh, PSGenerator gen)
          Deprecated. Please use the variant with the InputStream as parameter
static void PSImageUtils.renderEPS(java.io.InputStream in, java.lang.String name, java.awt.geom.Rectangle2D viewport, java.awt.geom.Rectangle2D bbox, PSGenerator gen)
          Places an EPS file in the PostScript stream.
static void PSProcSets.writeEPSProcSet(PSGenerator gen)
          Generates a resource defining a procset for including EPS graphics.
static void PSProcSets.writeFOPEPSProcSet(PSGenerator gen)
          Deprecated. Use writeEPSProcSet() instead.
static void PSProcSets.writeFOPStdProcSet(PSGenerator gen)
          Deprecated. Use writeStdProcSet() instead.
static void PSImageUtils.writeImage(byte[] img, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, boolean isJPEG, java.awt.color.ColorSpace colorSpace, PSGenerator gen)
          Deprecated. Please use the variant with the more versatile ImageEncoder as parameter
static void PSImageUtils.writeImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, java.awt.color.ColorSpace colorSpace, int bitsPerComponent, boolean invertImage, PSGenerator gen)
          Writes a bitmap image to the PostScript stream.
static PSResource PSImageUtils.writeReusableImage(byte[] img, java.awt.Dimension imgDim, java.lang.String formName, java.lang.String imageDescription, boolean isJPEG, java.awt.color.ColorSpace colorSpace, PSGenerator gen)
          Deprecated. Please use FormGenerator
protected static PSResource PSImageUtils.writeReusableImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String formName, java.lang.String imageDescription, java.awt.color.ColorSpace colorSpace, boolean invertImage, PSGenerator gen)
          Deprecated. Please use FormGenerator
static void PSProcSets.writeStdProcSet(PSGenerator gen)
          Generates a resource defining standard procset with operations used by the XML Graphics project.
 

Uses of PSGenerator in org.apache.xmlgraphics.ps.dsc
 

Fields in org.apache.xmlgraphics.ps.dsc declared as PSGenerator
protected  PSGenerator DefaultDSCHandler.gen
           
 

Methods in org.apache.xmlgraphics.ps.dsc with parameters of type PSGenerator
 DSCComment DSCParser.nextDSCComment(java.lang.String name, PSGenerator gen)
          Advances to the next DSC comment with the given name.
 PostScriptComment DSCParser.nextPSComment(java.lang.String prefix, PSGenerator gen)
          Advances to the next PostScript comment with the given prefix.
 void ResourceTracker.writeResources(boolean pageLevel, PSGenerator gen)
          Writes a DSC comment for the accumulated used resources, either at page level or at document level.
 

Constructors in org.apache.xmlgraphics.ps.dsc with parameters of type PSGenerator
DefaultNestedDocumentHandler(PSGenerator gen)
          Creates a new instance.
 

Uses of PSGenerator in org.apache.xmlgraphics.ps.dsc.events
 

Methods in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSGenerator
 void DSCComment.generate(PSGenerator gen)
           
 void DSCAtend.generate(PSGenerator gen)
           
 void DSCCommentLanguageLevel.generate(PSGenerator gen)
           
 void DSCHeaderComment.generate(PSGenerator gen)
           
 void DSCCommentBeginResource.generate(PSGenerator gen)
           
 void DSCCommentEndOfFile.generate(PSGenerator gen)
           
 void DSCCommentPages.generate(PSGenerator gen)
           
 void AbstractResourcesDSCComment.generate(PSGenerator gen)
           
 void PostScriptLine.generate(PSGenerator gen)
           
 void DSCCommentHiResBoundingBox.generate(PSGenerator gen)
          Writes the event to the given PSGenerator.
 void DSCCommentEndComments.generate(PSGenerator gen)
           
 void UnparsedDSCComment.generate(PSGenerator gen)
           
 void DSCCommentPage.generate(PSGenerator gen)
           
 void PostScriptComment.generate(PSGenerator gen)
           
 void DSCEvent.generate(PSGenerator gen)
          Writes the event to the given PSGenerator.
 void DSCCommentBoundingBox.generate(PSGenerator gen)
          Writes the event to the given PSGenerator.
 

Uses of PSGenerator in org.apache.xmlgraphics.ps.dsc.tools
 

Methods in org.apache.xmlgraphics.ps.dsc.tools with parameters of type PSGenerator
static DSCComment DSCTools.nextPageOrTrailer(DSCParser parser, PSGenerator gen)
          Advances the parser to the next page or to the trailer or the end of file comment.
 


xmlgraphics-commons 1.3.1

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.