com.sun.electric.tool.io.output
Class PostScriptColor

java.lang.Object
  extended by com.sun.electric.tool.io.output.PostScriptColor

public class PostScriptColor
extends java.lang.Object

This class writes files in PostScript format. It handles color better than existing freely available postscript generators. It does not handle arbitrary rotations. Limitations: the code to handle quad trees is rather messy now Ideas: center port labels give options about aspect ratio / page size put date on caption print layers on caption draw outlines around edges handle black & white mode Things still to do: circles and arcs rotation of the plot eps


Method Summary
static void psColorPlot(PostScript psObject, Cell cell, boolean epsFormat, boolean usePlotter, double pageWid, double pageHei, double pageMargin)
          Main entry point for color PostScript output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

psColorPlot

public static void psColorPlot(PostScript psObject,
                               Cell cell,
                               boolean epsFormat,
                               boolean usePlotter,
                               double pageWid,
                               double pageHei,
                               double pageMargin)
Main entry point for color PostScript output.

Parameters:
psObject - the PostScript writer object.
cell - the Cell being written.
epsFormat - true to write encapsulated PostScript.
usePlotter - true for an infinitely-tall plotter, where page height is not a consideration.
pageWid - the paper width (in 1/75 of an inch).
pageHei - the paper height (in 1/75 of an inch).
pageMargin - the inset margins (in 1/75 of an inch).