diff options
| author | Tom Tromey <tromey@cygnus.com> | 2000-07-23 00:24:14 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-07-23 00:24:14 +0000 |
| commit | 8039a4ea734415951af932bb5dc93a9cbc5f13dc (patch) | |
| tree | 015eb01267de18f0f0507f24597797582f311e45 /libjava/java/awt/geom/PathIterator.java | |
| parent | 4eb00163ad2a600403a9b36fdc7a47fd79ce98e6 (diff) | |
Makefile.in: Rebuilt.
* 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.
From-SVN: r35195
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 (); +} |
