org.freehep.graphicsio.ps
Class PSPathConstructor
java.lang.Object
org.freehep.graphicsio.AbstractPathConstructor
org.freehep.graphicsio.QuadToCubicPathConstructor
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PSPathConstructor
public PSPathConstructor(PrintStream os,
boolean useProlog,
boolean intPrecision)
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)
Copyright © 2014. All rights reserved.