Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV NEXT | FRAMES NO FRAMES

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

Packages that use PSGenerator
org.apache.xmlgraphics.java2d | Provides convenience base and utility classes for subclassing the `java.awt.Graphics2D` class in order to translate Java 2D primitives into another graphic format.
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

Methods in org.apache.xmlgraphics.java2d with parameters of type PSGenerator
`Graphics2D` | `GeneralGraphics2DImagePainter.getGraphics(boolean textAsShapes, PSGenerator gen)`

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
`static void` | `PSGraphics2D.applyStroke(Stroke stroke, PSGenerator gen)` Applies a new Stroke object.
`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.defineAdobeCyrillicEncoding(PSGenerator gen)` Defines the AdobeStandardCyrillic encoding for use in PostScript files.
`static void` | `PSFontUtils.defineWinAnsiEncoding(PSGenerator gen)` Defines the WinAnsi encoding for use in PostScript files.
`static void` | `PSFontUtils.embedType1Font(PSGenerator gen, 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, Dimension2D formDimensions, Rectangle2D targetRect, PSGenerator gen)` Paints a reusable image (previously added as a PostScript form).
`static void` | `PSImageUtils.paintForm(PSResource form, Rectangle2D targetRect, PSGenerator gen)` Deprecated. Please use `PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator)` instead.
`static void` | `PSImageUtils.paintReusableImage(String formName, Rectangle2D targetRect, PSGenerator gen)` Deprecated. Please use `PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator)` instead.
`static void` | `PSFontUtils.redefineFontEncoding(PSGenerator gen, String fontName, 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(RenderedImage img, float x, float y, float w, float h, PSGenerator gen)` Renders a bitmap image to PostScript.
`static void` | `PSImageUtils.renderEPS(byte[] rawEPS, 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(InputStream in, String name, Rectangle2D viewport, Rectangle2D bbox, PSGenerator gen)` Places an EPS file in the PostScript stream.
`static void` | `PSImageUtils.translateAndScale(PSGenerator gen, Dimension2D imageDimensions, Rectangle2D targetRect)` Generates commands to modify the current transformation matrix so an image fits into a given rectangle.
`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, Dimension imgDim, String imgDescription, Rectangle2D targetRect, boolean isJPEG, ColorSpace colorSpace, PSGenerator gen)` Deprecated. Please use the variant with the more versatile ImageEncoder as parameter
`static void` | `PSImageUtils.writeImage(ImageEncoder encoder, Dimension imgDim, String imgDescription, Rectangle2D targetRect, ColorModel colorModel, PSGenerator gen)`
`static void` | `PSImageUtils.writeImage(ImageEncoder encoder, Dimension imgDim, String imgDescription, Rectangle2D targetRect, ColorModel colorModel, PSGenerator gen, RenderedImage ri)` Writes a bitmap image to the PostScript stream.
`static void` | `PSImageUtils.writeImage(ImageEncoder encoder, Dimension imgDim, String imgDescription, Rectangle2D targetRect, ColorModel colorModel, PSGenerator gen, RenderedImage ri, Color maskColor)` Writes a bitmap image to the PostScript stream.
`static void` | `PSImageUtils.writeImage(ImageEncoder encoder, Dimension imgDim, String imgDescription, Rectangle2D targetRect, ColorSpace colorSpace, int bitsPerComponent, boolean invertImage, PSGenerator gen)` Writes a bitmap image to the PostScript stream.
`static PSResource` | `PSImageUtils.writeReusableImage(byte[] img, Dimension imgDim, String formName, String imageDescription, boolean isJPEG, ColorSpace colorSpace, PSGenerator gen)` Deprecated. Please use `FormGenerator`
`protected static PSResource` | `PSImageUtils.writeReusableImage(ImageEncoder encoder, Dimension imgDim, String formName, String imageDescription, 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(String name, PSGenerator gen)` Advances to the next DSC comment with the given name.
`PostScriptComment` | `DSCParser.nextPSComment(String prefix, PSGenerator gen)` Advances to the next PostScript comment with the given prefix.
`void` | `ResourceTracker.writeDocumentResources(PSGenerator gen)` Writes a DSC comment for the needed and supplied resourced for the current DSC document.
`void` | `ResourceTracker.writePageResources(PSGenerator gen)` Writes a DSC comment for the accumulated used resources on the current page.
`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` | `DSCHeaderComment.generate(PSGenerator gen)`
`void` | `DSCCommentEndComments.generate(PSGenerator gen)`
`void` | `AbstractResourcesDSCComment.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCAtend.generate(PSGenerator gen)`
`void` | `DSCCommentBoundingBox.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCCommentPages.generate(PSGenerator gen)`
`void` | `DSCCommentBeginDocument.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCCommentLanguageLevel.generate(PSGenerator gen)`
`void` | `AbstractResourceDSCComment.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCCommentHiResBoundingBox.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `PostScriptComment.generate(PSGenerator gen)`
`void` | `DSCEvent.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCCommentPage.generate(PSGenerator gen)`
`void` | `UnparsedDSCComment.generate(PSGenerator gen)`
`void` | `DSCCommentBeginResource.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `DSCCommentTitle.generate(PSGenerator gen)` Writes the event to the given PSGenerator.
`void` | `PostScriptLine.generate(PSGenerator gen)`
`void` | `DSCComment.generate(PSGenerator gen)`
`void` | `DSCCommentEndOfFile.generate(PSGenerator gen)`

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV NEXT | FRAMES NO FRAMES

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