diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-23 00:24:14 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-23 00:24:14 +0000 |
commit | 7b1c54e78d5e8067e1f8177ba83a698cb794ebb0 (patch) | |
tree | 015eb01267de18f0f0507f24597797582f311e45 /libjava/java/awt/geom/PathIterator.java | |
parent | 9588521d18d4e00cb634ddd1d5d2e57be874dab5 (diff) | |
download | ppe42-gcc-7b1c54e78d5e8067e1f8177ba83a698cb794ebb0.tar.gz ppe42-gcc-7b1c54e78d5e8067e1f8177ba83a698cb794ebb0.zip |
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Updated for new files.
* java/awt/Adjustable.java (HORIZONTAL, VERTICAL): Set values.
* java/awt/Label.java: New file.
* java/awt/Rectangle.java (Rectangle): Extend Rectangle2D.
(createIntersection, createUnion, getBounds2D): New methods.
* java/awt/Scrollbar.java: New file.
* java/awt/Shape.java: Updated to 1.2.
* java/awt/geom/AffineTransform.java: New file.
* java/awt/geom/Ellipse2D.java: New file.
* java/awt/geom/NoninvertibleTransformException.java: New file.
* java/awt/geom/PathIterator.java: New file.
* java/awt/geom/Rectangle2D.java: New file.
* java/awt/geom/RectangularShape.java: New file.
* java/awt/geom/Point2D.java (Double, Float): New inner classes.
* java/awt/geom/IllegalPathStateException.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/geom/PathIterator.java')
-rw-r--r-- | libjava/java/awt/geom/PathIterator.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libjava/java/awt/geom/PathIterator.java b/libjava/java/awt/geom/PathIterator.java new file mode 100644 index 00000000000..49d9a3bb3c1 --- /dev/null +++ b/libjava/java/awt/geom/PathIterator.java @@ -0,0 +1,31 @@ +/* Copyright (C) 2000 Free Software Foundation + + This file is part of libjava. + +This software is copyrighted work licensed under the terms of the +Libjava License. Please consult the file "LIBJAVA_LICENSE" for +details. */ + +package java.awt.geom; + +/** + * @author Tom Tromey <tromey@cygnus.com> + * @date April 16, 2000 + */ + +public interface PathIterator +{ + public static final int SEG_CLOSE = 4; + public static final int SEG_CUBICTO = 3; + public static final int SEG_LINETO = 1; + public static final int SEG_MOVETO = 0; + public static final int SEG_QUADTO = 2; + public static final int WIND_EVEN_ODD = 0; + public static final int WIND_NON_ZERO = 1; + + public int currentSegment (double[] coords); + public int currentSegment (float[] coords); + public int getWindingRule (); + public boolean isDone (); + public void next (); +} |