org.freehep.graphicsio.pdf
Class PDFPathConstructor

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

public class PDFPathConstructor
extends org.freehep.graphicsio.QuadToCubicPathConstructor

Version:
$Id: PDFPathConstructor.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.graphicsio.AbstractPathConstructor
currentX, currentY
 
Constructor Summary
PDFPathConstructor(PDFStream stream)
           
 
Method Summary
 void closePath(double x0, double y0)
           
 void cubic(double x1, double y1, double x2, double y2, double x3, double y3)
           
 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

PDFPathConstructor

public PDFPathConstructor(PDFStream stream)
Method Detail

move

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

line

public void line(double x,
                 double y)
          throws IOException
Specified by:
line in interface org.freehep.graphicsio.PathConstructor
Overrides:
line in class org.freehep.graphicsio.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 org.freehep.graphicsio.PathConstructor
Overrides:
cubic in class org.freehep.graphicsio.QuadToCubicPathConstructor
Throws:
IOException

closePath

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


Copyright © 2000-2006 FreeHEP. All Rights Reserved.