summaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/GeneralPath.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/awt/geom/GeneralPath.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/awt/geom/GeneralPath.h')
-rw-r--r--libjava/java/awt/geom/GeneralPath.h88
1 files changed, 88 insertions, 0 deletions
diff --git a/libjava/java/awt/geom/GeneralPath.h b/libjava/java/awt/geom/GeneralPath.h
new file mode 100644
index 000000000..a2d37c73f
--- /dev/null
+++ b/libjava/java/awt/geom/GeneralPath.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_GeneralPath__
+#define __java_awt_geom_GeneralPath__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::GeneralPath : public ::java::lang::Object
+{
+
+public:
+ GeneralPath();
+ GeneralPath(jint);
+ GeneralPath(jint, jint);
+ GeneralPath(::java::awt::Shape *);
+ void moveTo(jfloat, jfloat);
+ void lineTo(jfloat, jfloat);
+ void quadTo(jfloat, jfloat, jfloat, jfloat);
+ void curveTo(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ void closePath();
+ void append(::java::awt::Shape *, jboolean);
+ void append(::java::awt::geom::PathIterator *, jboolean);
+ jint getWindingRule();
+ void setWindingRule(jint);
+ ::java::awt::geom::Point2D * getCurrentPoint();
+ void reset();
+ void transform(::java::awt::geom::AffineTransform *);
+ ::java::awt::Shape * createTransformedShape(::java::awt::geom::AffineTransform *);
+ ::java::awt::Rectangle * getBounds();
+ ::java::awt::geom::Rectangle2D * getBounds2D();
+ jboolean contains(jdouble, jdouble);
+ jboolean contains(::java::awt::geom::Point2D *);
+ jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ jboolean contains(::java::awt::geom::Rectangle2D *);
+ jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ jboolean intersects(::java::awt::geom::Rectangle2D *);
+ ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ ::java::lang::Object * clone();
+private:
+ void ensureSize(jint);
+ jint getAxisIntersections(jdouble, jdouble, jboolean, jdouble);
+ jint getWindingNumber(jdouble, jdouble);
+ jint evaluateCrossings(jdouble, jdouble, jboolean, jboolean, jdouble);
+public:
+ static const jint WIND_EVEN_ODD = 0;
+ static const jint WIND_NON_ZERO = 1;
+private:
+ static const jint INIT_SIZE = 10;
+ static jdouble BIG_VALUE;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) rule;
+ JArray< jbyte > * types;
+ JArray< jfloat > * xpoints;
+ JArray< jfloat > * ypoints;
+private:
+ jint subpath;
+public: // actually package-private
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_GeneralPath__