Vector Graphics, 2.4

org.freehep.graphicsio.ps
Class PSPathConstructor

java.lang.Object
  extended by org.freehep.graphicsio.AbstractPathConstructor
      extended by org.freehep.graphicsio.QuadToCubicPathConstructor
          extended by org.freehep.graphicsio.ps.PSPathConstructor
All Implemented Interfaces:
PathConstructor

public class PSPathConstructor
extends QuadToCubicPathConstructor

Version:
$Id: freehep-graphicsio-ps/src/main/java/org/freehep/graphicsio/ps/PSPathConstructor.java f24bd43ca24b 2005/12/02 00:39:35 duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.graphicsio.AbstractPathConstructor
currentX, currentY
 
Constructor Summary
PSPathConstructor(PrintStream os, boolean useProlog, boolean intPrecision)
           
 
Method Summary
 void closePath(double x0, double y0)
           
 void cubic(double x1, double y1, double x2, double y2, double x3, double y3)
           
protected  String fixedPrecision(double d)
           
 void line(double x, double y)
           
 void move(double x, double y)
           
 
Methods inherited from class org.freehep.graphicsio.QuadToCubicPathConstructor
quad
 
Methods inherited from class org.freehep.graphicsio.AbstractPathConstructor
addPath, addPath, addPath, flush, isEvenOdd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSPathConstructor

public PSPathConstructor(PrintStream os,
                         boolean useProlog,
                         boolean intPrecision)
Method Detail

move

public void move(double x,
                 double y)
          throws IOException
Specified by:
move in interface PathConstructor
Overrides:
move in class QuadToCubicPathConstructor
Throws:
IOException

line

public void line(double x,
                 double y)
          throws IOException
Specified by:
line in interface PathConstructor
Overrides:
line in class QuadToCubicPathConstructor
Throws:
IOException

cubic

public void cubic(double x1,
                  double y1,
                  double x2,
                  double y2,
                  double x3,
                  double y3)
           throws IOException
Specified by:
cubic in interface PathConstructor
Overrides:
cubic in class QuadToCubicPathConstructor
Throws:
IOException

closePath

public void closePath(double x0,
                      double y0)
               throws IOException
Specified by:
closePath in interface PathConstructor
Overrides:
closePath in class QuadToCubicPathConstructor
Throws:
IOException

fixedPrecision

protected String fixedPrecision(double d)

Vector Graphics, 2.4

Copyright © 2014. All rights reserved.