summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/java2d
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/gnu/java/awt/java2d
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/gnu/java/awt/java2d')
-rw-r--r--libjava/gnu/java/awt/java2d/AbstractGraphics2D.h226
-rw-r--r--libjava/gnu/java/awt/java2d/ActiveEdges.h52
-rw-r--r--libjava/gnu/java/awt/java2d/AlphaCompositeContext.h57
-rw-r--r--libjava/gnu/java/awt/java2d/CubicSegment.h56
-rw-r--r--libjava/gnu/java/awt/java2d/ImagePaint$ImagePaintContext.h60
-rw-r--r--libjava/gnu/java/awt/java2d/ImagePaint.h61
-rw-r--r--libjava/gnu/java/awt/java2d/LineSegment.h54
-rw-r--r--libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h42
-rw-r--r--libjava/gnu/java/awt/java2d/PixelCoverage.h45
-rw-r--r--libjava/gnu/java/awt/java2d/Pixelizer.h36
-rw-r--r--libjava/gnu/java/awt/java2d/PolyEdge.h55
-rw-r--r--libjava/gnu/java/awt/java2d/PolyEdgeComparator.h39
-rw-r--r--libjava/gnu/java/awt/java2d/QuadSegment.h61
-rw-r--r--libjava/gnu/java/awt/java2d/RasterGraphics.h61
-rw-r--r--libjava/gnu/java/awt/java2d/Scanline.h42
-rw-r--r--libjava/gnu/java/awt/java2d/ScanlineConverter.h87
-rw-r--r--libjava/gnu/java/awt/java2d/ScanlineCoverage$Coverage.h46
-rw-r--r--libjava/gnu/java/awt/java2d/ScanlineCoverage$Iterator.h51
-rw-r--r--libjava/gnu/java/awt/java2d/ScanlineCoverage$Range.h55
-rw-r--r--libjava/gnu/java/awt/java2d/ScanlineCoverage.h67
-rw-r--r--libjava/gnu/java/awt/java2d/Segment.h65
-rw-r--r--libjava/gnu/java/awt/java2d/ShapeCache.h58
-rw-r--r--libjava/gnu/java/awt/java2d/ShapeWrapper.h63
-rw-r--r--libjava/gnu/java/awt/java2d/TextCacheKey.h57
-rw-r--r--libjava/gnu/java/awt/java2d/TexturePaintContext.h64
25 files changed, 1560 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/java2d/AbstractGraphics2D.h b/libjava/gnu/java/awt/java2d/AbstractGraphics2D.h
new file mode 100644
index 000000000..8effd32a5
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/AbstractGraphics2D.h
@@ -0,0 +1,226 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_AbstractGraphics2D__
+#define __gnu_java_awt_java2d_AbstractGraphics2D__
+
+#pragma interface
+
+#include <java/awt/Graphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class AbstractGraphics2D;
+ class ScanlineConverter;
+ class ScanlineCoverage;
+ class ShapeCache;
+ class TextCacheKey;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BasicStroke;
+ class Color;
+ class Composite;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class Image;
+ class Paint;
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ class RenderingHints$Key;
+ class Shape;
+ class Stroke;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ColorModel;
+ class ImageObserver;
+ class Raster;
+ class RenderedImage;
+ class WritableRaster;
+ namespace renderable
+ {
+ class RenderableImage;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::java2d::AbstractGraphics2D : public ::java::awt::Graphics2D
+{
+
+public: // actually protected
+ AbstractGraphics2D();
+public:
+ virtual void draw(::java::awt::Shape *);
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
+private:
+ jboolean drawImageImpl(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *, ::java::awt::Rectangle *);
+public:
+ virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+private:
+ void drawRenderedImageImpl(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *, ::java::awt::Rectangle *);
+public:
+ virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
+private:
+ void drawRenderableImageImpl(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *, ::java::awt::Rectangle *);
+public:
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual void drawString(::java::lang::String *, jfloat, jfloat);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
+ virtual void fill(::java::awt::Shape *);
+ virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
+ virtual void setComposite(::java::awt::Composite *);
+ virtual void setPaint(::java::awt::Paint *);
+ virtual void setStroke(::java::awt::Stroke *);
+ virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
+ virtual void setRenderingHints(::java::util::Map *);
+ virtual void addRenderingHints(::java::util::Map *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual void translate(jint, jint);
+ virtual void translate(jdouble, jdouble);
+ virtual void rotate(jdouble);
+ virtual void rotate(jdouble, jdouble, jdouble);
+ virtual void scale(jdouble, jdouble);
+ virtual void shear(jdouble, jdouble);
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual ::java::awt::Paint * getPaint();
+ virtual ::java::awt::Composite * getComposite();
+ virtual void setBackground(::java::awt::Color *);
+ virtual ::java::awt::Color * getBackground();
+ virtual ::java::awt::Stroke * getStroke();
+ virtual void clip(::java::awt::Shape *);
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual ::java::awt::Graphics * create();
+public: // actually protected
+ virtual ::java::lang::Object * clone();
+public:
+ virtual ::java::awt::Color * getColor();
+ virtual void setColor(::java::awt::Color *);
+ virtual void setPaintMode();
+ virtual void setXORMode(::java::awt::Color *);
+ virtual ::java::awt::Font * getFont();
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Rectangle * getClipBounds();
+ virtual void clipRect(jint, jint, jint, jint);
+ virtual void setClip(jint, jint, jint, jint);
+ virtual ::java::awt::Shape * getClip();
+ virtual void setClip(::java::awt::Shape *);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void fillRect(jint, jint, jint, jint);
+ virtual void clearRect(jint, jint, jint, jint);
+ virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void drawOval(jint, jint, jint, jint);
+ virtual void fillOval(jint, jint, jint, jint);
+ virtual void drawArc(jint, jint, jint, jint, jint, jint);
+ virtual void fillArc(jint, jint, jint, jint, jint, jint);
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual void dispose();
+public: // actually protected
+ virtual void fillShape(::java::awt::Shape *, jboolean);
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::Rectangle * getDeviceBounds() = 0;
+ virtual void rawDrawLine(jint, jint, jint, jint);
+ virtual void rawDrawRect(jint, jint, jint, jint);
+ virtual void rawClearRect(jint, jint, jint, jint);
+ virtual void rawFillRect(jint, jint, jint, jint);
+ virtual jboolean rawDrawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void rawCopyArea(jint, jint, jint, jint, jint, jint);
+private:
+ void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+public:
+ virtual void renderScanline(jint, ::gnu::java::awt::java2d::ScanlineCoverage *);
+public: // actually protected
+ virtual void init();
+ virtual ::java::awt::image::WritableRaster * getDestinationRaster();
+ virtual void updateRaster(::java::awt::image::Raster *, jint, jint, jint, jint);
+private:
+ void updateOptimization();
+ static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
+ void updateClip(::java::awt::geom::AffineTransform *);
+ ::gnu::java::awt::java2d::ScanlineConverter * getScanlineConverter();
+ void freeScanlineConverter(::gnu::java::awt::java2d::ScanlineConverter *);
+ ::java::awt::PaintContext * getPaintContext();
+public:
+ static ::java::awt::Image * prepareImage(::java::awt::Image *, jint, jint);
+public: // actually protected
+ static ::java::util::WeakHashMap * imageCache;
+private:
+ static jboolean DEFAULT_TEXT_AA;
+ static ::java::awt::Font * FONT;
+ static const jint GV_CACHE_SIZE = 50;
+ static ::gnu::java::awt::java2d::ShapeCache * shapeCache;
+ static ::java::util::LinkedList * scanlineConverters;
+ static ::java::util::Map * gvCache;
+ static ::gnu::java::awt::java2d::TextCacheKey * searchTextKey;
+public: // actually protected
+ ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) transform__;
+private:
+ ::java::awt::Paint * paint;
+ ::java::awt::PaintContext * paintContext;
+ ::java::awt::Color * background;
+ ::java::awt::Color * foreground;
+ jboolean isForegroundColorNull;
+ ::java::awt::Font * font;
+ ::java::awt::Composite * composite;
+ ::java::awt::Stroke * stroke;
+ ::java::awt::Shape * clip__;
+ ::java::awt::RenderingHints * renderingHints;
+ ::java::awt::image::WritableRaster * destinationRaster;
+ jboolean isOptimized;
+ static ::java::awt::BasicStroke * STANDARD_STROKE;
+ static ::java::util::HashMap * STANDARD_HINTS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_AbstractGraphics2D__
diff --git a/libjava/gnu/java/awt/java2d/ActiveEdges.h b/libjava/gnu/java/awt/java2d/ActiveEdges.h
new file mode 100644
index 000000000..9310460b9
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ActiveEdges.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ActiveEdges__
+#define __gnu_java_awt_java2d_ActiveEdges__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ActiveEdges;
+ class PolyEdge;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ActiveEdges : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ActiveEdges();
+ void clear();
+ void add(::gnu::java::awt::java2d::PolyEdge *);
+ void intersectSortAndPack(jint, jint);
+ jint getNumActiveEdges();
+ ::gnu::java::awt::java2d::PolyEdge * getActiveEdge(jint);
+ void remove(jint);
+public:
+ ::java::lang::String * toString();
+private:
+ JArray< ::gnu::java::awt::java2d::PolyEdge * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) activeEdges;
+ jint numActiveEdges;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ActiveEdges__
diff --git a/libjava/gnu/java/awt/java2d/AlphaCompositeContext.h b/libjava/gnu/java/awt/java2d/AlphaCompositeContext.h
new file mode 100644
index 000000000..9c591a4d9
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/AlphaCompositeContext.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_AlphaCompositeContext__
+#define __gnu_java_awt_java2d_AlphaCompositeContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class AlphaCompositeContext;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AlphaComposite;
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::AlphaCompositeContext : public ::java::lang::Object
+{
+
+public:
+ AlphaCompositeContext(::java::awt::AlphaComposite *, ::java::awt::image::ColorModel *, ::java::awt::image::ColorModel *);
+ virtual void dispose();
+ virtual void compose(::java::awt::image::Raster *, ::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+private:
+ ::java::awt::AlphaComposite * __attribute__((aligned(__alignof__( ::java::lang::Object)))) composite;
+ ::java::awt::image::ColorModel * srcColorModel;
+ ::java::awt::image::ColorModel * dstColorModel;
+ jfloat fs;
+ jfloat fd;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_AlphaCompositeContext__
diff --git a/libjava/gnu/java/awt/java2d/CubicSegment.h b/libjava/gnu/java/awt/java2d/CubicSegment.h
new file mode 100644
index 000000000..c7ef3b29c
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/CubicSegment.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_CubicSegment__
+#define __gnu_java_awt_java2d_CubicSegment__
+
+#pragma interface
+
+#include <gnu/java/awt/java2d/Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class CubicSegment;
+ class Segment;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::CubicSegment : public ::gnu::java::awt::java2d::Segment
+{
+
+public:
+ CubicSegment(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ CubicSegment(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::gnu::java::awt::java2d::Segment * > * getDisplacedSegments(jdouble);
+ virtual void reverse();
+ virtual JArray< jdouble > * cp1();
+ virtual JArray< jdouble > * cp2();
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::gnu::java::awt::java2d::Segment)))) cp1__;
+ ::java::awt::geom::Point2D * cp2__;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_CubicSegment__
diff --git a/libjava/gnu/java/awt/java2d/ImagePaint$ImagePaintContext.h b/libjava/gnu/java/awt/java2d/ImagePaint$ImagePaintContext.h
new file mode 100644
index 000000000..b0a1d087d
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ImagePaint$ImagePaintContext.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ImagePaint$ImagePaintContext__
+#define __gnu_java_awt_java2d_ImagePaint$ImagePaintContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ImagePaint;
+ class ImagePaint$ImagePaintContext;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ImagePaint$ImagePaintContext : public ::java::lang::Object
+{
+
+ ImagePaint$ImagePaintContext(::gnu::java::awt::java2d::ImagePaint *);
+public:
+ virtual void dispose();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::Raster * getRaster(jint, jint, jint, jint);
+private:
+ void ensureRasterSize(jint, jint);
+public: // actually package-private
+ ImagePaint$ImagePaintContext(::gnu::java::awt::java2d::ImagePaint *, ::gnu::java::awt::java2d::ImagePaint$ImagePaintContext *);
+private:
+ ::java::awt::image::WritableRaster * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+public: // actually package-private
+ ::gnu::java::awt::java2d::ImagePaint * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ImagePaint$ImagePaintContext__
diff --git a/libjava/gnu/java/awt/java2d/ImagePaint.h b/libjava/gnu/java/awt/java2d/ImagePaint.h
new file mode 100644
index 000000000..e9e2ea251
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ImagePaint.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ImagePaint__
+#define __gnu_java_awt_java2d_ImagePaint__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ImagePaint;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ImagePaint : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ImagePaint(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public:
+ virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ virtual jint getTransparency();
+public: // actually package-private
+ ::java::awt::image::RenderedImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
+ ::java::awt::geom::AffineTransform * transform;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ImagePaint__
diff --git a/libjava/gnu/java/awt/java2d/LineSegment.h b/libjava/gnu/java/awt/java2d/LineSegment.h
new file mode 100644
index 000000000..50f51e04b
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/LineSegment.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_LineSegment__
+#define __gnu_java_awt_java2d_LineSegment__
+
+#pragma interface
+
+#include <gnu/java/awt/java2d/Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class LineSegment;
+ class Segment;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::LineSegment : public ::gnu::java::awt::java2d::Segment
+{
+
+public:
+ LineSegment(jdouble, jdouble, jdouble, jdouble);
+ LineSegment(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::gnu::java::awt::java2d::Segment * > * getDisplacedSegments(jdouble);
+ virtual void reverse();
+ virtual JArray< jdouble > * cp1();
+ virtual JArray< jdouble > * cp2();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_LineSegment__
diff --git a/libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h b/libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h
new file mode 100644
index 000000000..07b6ac072
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_PixelCoverage$Bucket__
+#define __gnu_java_awt_java2d_PixelCoverage$Bucket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class PixelCoverage$Bucket;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::PixelCoverage$Bucket : public ::java::lang::Object
+{
+
+ PixelCoverage$Bucket();
+public: // actually package-private
+ PixelCoverage$Bucket(::gnu::java::awt::java2d::PixelCoverage$Bucket *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xPos;
+ jint xCov;
+ jint yCov;
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * next;
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * prev;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_PixelCoverage$Bucket__
diff --git a/libjava/gnu/java/awt/java2d/PixelCoverage.h b/libjava/gnu/java/awt/java2d/PixelCoverage.h
new file mode 100644
index 000000000..75a505760
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/PixelCoverage.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_PixelCoverage__
+#define __gnu_java_awt_java2d_PixelCoverage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class PixelCoverage;
+ class PixelCoverage$Bucket;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::PixelCoverage : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PixelCoverage();
+ void rewind();
+ void clear();
+ void add(jint, jint, jint);
+private:
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * findOrInsert(jint);
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) head;
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * current;
+ ::gnu::java::awt::java2d::PixelCoverage$Bucket * last;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_PixelCoverage__
diff --git a/libjava/gnu/java/awt/java2d/Pixelizer.h b/libjava/gnu/java/awt/java2d/Pixelizer.h
new file mode 100644
index 000000000..469019ad8
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/Pixelizer.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_Pixelizer__
+#define __gnu_java_awt_java2d_Pixelizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class Pixelizer;
+ class ScanlineCoverage;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::Pixelizer : public ::java::lang::Object
+{
+
+public:
+ virtual void renderScanline(jint, ::gnu::java::awt::java2d::ScanlineCoverage *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_java2d_Pixelizer__
diff --git a/libjava/gnu/java/awt/java2d/PolyEdge.h b/libjava/gnu/java/awt/java2d/PolyEdge.h
new file mode 100644
index 000000000..e51a868ca
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/PolyEdge.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_PolyEdge__
+#define __gnu_java_awt_java2d_PolyEdge__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class PolyEdge;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::PolyEdge : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PolyEdge();
+ PolyEdge(jint, jint, jint, jint, jint, jboolean);
+ void init(jint, jint, jint, jint, jint, jboolean);
+public:
+ jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ void intersect(jint, jint);
+public:
+ ::java::lang::String * toString();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x0;
+ jint y0;
+ jint x1;
+ jint y1;
+private:
+ jint slope;
+public: // actually package-private
+ jint xIntersection;
+ jboolean isClip;
+ ::gnu::java::awt::java2d::PolyEdge * poolNext;
+ ::gnu::java::awt::java2d::PolyEdge * scanlineNext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_PolyEdge__
diff --git a/libjava/gnu/java/awt/java2d/PolyEdgeComparator.h b/libjava/gnu/java/awt/java2d/PolyEdgeComparator.h
new file mode 100644
index 000000000..b27bdaf90
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/PolyEdgeComparator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_PolyEdgeComparator__
+#define __gnu_java_awt_java2d_PolyEdgeComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class PolyEdgeComparator;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::PolyEdgeComparator : public ::java::lang::Object
+{
+
+public:
+ PolyEdgeComparator();
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) y;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_PolyEdgeComparator__
diff --git a/libjava/gnu/java/awt/java2d/QuadSegment.h b/libjava/gnu/java/awt/java2d/QuadSegment.h
new file mode 100644
index 000000000..107524153
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/QuadSegment.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_QuadSegment__
+#define __gnu_java_awt_java2d_QuadSegment__
+
+#pragma interface
+
+#include <gnu/java/awt/java2d/Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class QuadSegment;
+ class Segment;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ class QuadCurve2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::QuadSegment : public ::gnu::java::awt::java2d::Segment
+{
+
+public:
+ QuadSegment(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ QuadSegment(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ QuadSegment(::java::awt::geom::QuadCurve2D *);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::gnu::java::awt::java2d::Segment * > * getDisplacedSegments(jdouble);
+private:
+ ::gnu::java::awt::java2d::QuadSegment * offsetSubdivided(::java::awt::geom::QuadCurve2D *, jboolean);
+ ::java::awt::geom::Point2D * lineIntersection(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jboolean);
+public:
+ virtual void reverse();
+ virtual JArray< jdouble > * cp1();
+ virtual JArray< jdouble > * cp2();
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::gnu::java::awt::java2d::Segment)))) cp;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_QuadSegment__
diff --git a/libjava/gnu/java/awt/java2d/RasterGraphics.h b/libjava/gnu/java/awt/java2d/RasterGraphics.h
new file mode 100644
index 000000000..37baf269c
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/RasterGraphics.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_RasterGraphics__
+#define __gnu_java_awt_java2d_RasterGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/java2d/AbstractGraphics2D.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class RasterGraphics;
+ class ScanlineCoverage;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsConfiguration;
+ class Rectangle;
+ namespace image
+ {
+ class ColorModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::RasterGraphics : public ::gnu::java::awt::java2d::AbstractGraphics2D
+{
+
+public:
+ RasterGraphics(::java::awt::image::WritableRaster *, ::java::awt::image::ColorModel *);
+ virtual void renderScanline(jint, ::gnu::java::awt::java2d::ScanlineCoverage *);
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::WritableRaster * getDestinationRaster();
+public:
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually protected
+ virtual ::java::awt::Rectangle * getDeviceBounds();
+private:
+ ::java::awt::image::WritableRaster * __attribute__((aligned(__alignof__( ::gnu::java::awt::java2d::AbstractGraphics2D)))) raster;
+ ::java::awt::image::ColorModel * colorModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_RasterGraphics__
diff --git a/libjava/gnu/java/awt/java2d/Scanline.h b/libjava/gnu/java/awt/java2d/Scanline.h
new file mode 100644
index 000000000..ce2be0e97
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/Scanline.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_Scanline__
+#define __gnu_java_awt_java2d_Scanline__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class PolyEdge;
+ class Scanline;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::Scanline : public ::java::lang::Object
+{
+
+public: // actually package-private
+ virtual void clear();
+ Scanline();
+ virtual void addEdge(::gnu::java::awt::java2d::PolyEdge *);
+ virtual ::gnu::java::awt::java2d::PolyEdge * getEdges();
+private:
+ ::gnu::java::awt::java2d::PolyEdge * __attribute__((aligned(__alignof__( ::java::lang::Object)))) edges;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_Scanline__
diff --git a/libjava/gnu/java/awt/java2d/ScanlineConverter.h b/libjava/gnu/java/awt/java2d/ScanlineConverter.h
new file mode 100644
index 000000000..b2da8ffdc
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ScanlineConverter.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ScanlineConverter__
+#define __gnu_java_awt_java2d_ScanlineConverter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ActiveEdges;
+ class Pixelizer;
+ class PolyEdge;
+ class Scanline;
+ class ScanlineConverter;
+ class ScanlineCoverage;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ScanlineConverter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScanlineConverter();
+public:
+ void renderShape(::gnu::java::awt::java2d::Pixelizer *, ::java::awt::Shape *, ::java::awt::Shape *, ::java::awt::geom::AffineTransform *, jint, jint, ::java::awt::RenderingHints *);
+private:
+ void clear();
+ void doScanline(::gnu::java::awt::java2d::Pixelizer *, jint, jboolean, jboolean);
+ void setResolution(jint, jint);
+ void setUpperBounds(jint);
+ void addShape(::java::awt::geom::PathIterator *, jboolean);
+ void addEdge(::gnu::java::awt::java2d::PolyEdge *);
+ jint fit(jint);
+ jint scanlineIndex(jint);
+ void edgePoolAdd(jint, jint, jint, jint, jboolean);
+ static jint FIXED_DIGITS;
+ static jint ONE;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) numScanlines;
+ JArray< ::gnu::java::awt::java2d::Scanline * > * scanlines;
+ jint upperBounds;
+ jint resolution;
+ jint yResolution;
+ jint halfStep;
+ JArray< jfloat > * coords;
+ ::gnu::java::awt::java2d::ActiveEdges * activeEdges;
+ ::gnu::java::awt::java2d::PolyEdge * edgePool;
+ ::gnu::java::awt::java2d::PolyEdge * edgePoolLast;
+ jint minY;
+ jint maxY;
+ jint minX;
+ jint maxX;
+ ::gnu::java::awt::java2d::ScanlineCoverage * scanlineCoverage;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ScanlineConverter__
diff --git a/libjava/gnu/java/awt/java2d/ScanlineCoverage$Coverage.h b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Coverage.h
new file mode 100644
index 000000000..0f1a5b788
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Coverage.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ScanlineCoverage$Coverage__
+#define __gnu_java_awt_java2d_ScanlineCoverage$Coverage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ScanlineCoverage$Coverage;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ScanlineCoverage$Coverage : public ::java::lang::Object
+{
+
+ ScanlineCoverage$Coverage();
+public:
+ jint getXPos();
+ jint getCoverageDelta();
+ ::java::lang::String * toString();
+ ::java::lang::String * list();
+public: // actually package-private
+ ScanlineCoverage$Coverage(::gnu::java::awt::java2d::ScanlineCoverage$Coverage *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xPos;
+ jint covDelta;
+ jint pixelCoverage;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ScanlineCoverage$Coverage__
diff --git a/libjava/gnu/java/awt/java2d/ScanlineCoverage$Iterator.h b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Iterator.h
new file mode 100644
index 000000000..2ea741ea4
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Iterator.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ScanlineCoverage$Iterator__
+#define __gnu_java_awt_java2d_ScanlineCoverage$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ScanlineCoverage;
+ class ScanlineCoverage$Coverage;
+ class ScanlineCoverage$Iterator;
+ class ScanlineCoverage$Range;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ScanlineCoverage$Iterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScanlineCoverage$Iterator(::gnu::java::awt::java2d::ScanlineCoverage *);
+public:
+ ::gnu::java::awt::java2d::ScanlineCoverage$Range * next();
+ jboolean hasNext();
+public: // actually package-private
+ void reset();
+private:
+ ::gnu::java::awt::java2d::ScanlineCoverage$Range * __attribute__((aligned(__alignof__( ::java::lang::Object)))) range;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * currentItem;
+ jint currentCoverage;
+ jboolean handledPixelCoverage;
+public: // actually package-private
+ ::gnu::java::awt::java2d::ScanlineCoverage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ScanlineCoverage$Iterator__
diff --git a/libjava/gnu/java/awt/java2d/ScanlineCoverage$Range.h b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Range.h
new file mode 100644
index 000000000..5f6ccd622
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ScanlineCoverage$Range.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ScanlineCoverage$Range__
+#define __gnu_java_awt_java2d_ScanlineCoverage$Range__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ScanlineCoverage$Range;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ScanlineCoverage$Range : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScanlineCoverage$Range();
+ void setXPos(jint);
+public:
+ jint getXPos();
+public: // actually package-private
+ void setLength(jint);
+public:
+ jint getLength();
+ jint getXPosEnd();
+public: // actually package-private
+ void setCoverage(jint);
+public:
+ jint getCoverage();
+ ::java::lang::String * toString();
+public: // actually package-private
+ static jint access$0(::gnu::java::awt::java2d::ScanlineCoverage$Range *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xPos;
+ jint length;
+ jint coverage;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ScanlineCoverage$Range__
diff --git a/libjava/gnu/java/awt/java2d/ScanlineCoverage.h b/libjava/gnu/java/awt/java2d/ScanlineCoverage.h
new file mode 100644
index 000000000..46d9ae899
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ScanlineCoverage.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ScanlineCoverage__
+#define __gnu_java_awt_java2d_ScanlineCoverage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ScanlineCoverage;
+ class ScanlineCoverage$Coverage;
+ class ScanlineCoverage$Iterator;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ScanlineCoverage : public ::java::lang::Object
+{
+
+public:
+ ScanlineCoverage();
+ void rewind();
+ void clear();
+ void add(jint, jint, jint);
+ jint getMaxCoverage();
+public: // actually package-private
+ void setMaxCoverage(jint);
+public:
+ jint getMaxX();
+ jint getMinX();
+private:
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * findOrInsert(jint);
+public:
+ ::gnu::java::awt::java2d::ScanlineCoverage$Iterator * iterate();
+ jboolean isEmpty();
+public: // actually package-private
+ static ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * access$0(::gnu::java::awt::java2d::ScanlineCoverage *);
+ static ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * access$1(::gnu::java::awt::java2d::ScanlineCoverage *);
+private:
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) head;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * current;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * currentPrev;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * last;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Coverage * lastPrev;
+ jint minX;
+ jint maxX;
+ jint maxCoverage;
+ ::gnu::java::awt::java2d::ScanlineCoverage$Iterator * iterator;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ScanlineCoverage__
diff --git a/libjava/gnu/java/awt/java2d/Segment.h b/libjava/gnu/java/awt/java2d/Segment.h
new file mode 100644
index 000000000..3e771bbbc
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/Segment.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_Segment__
+#define __gnu_java_awt_java2d_Segment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class Segment;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::Segment : public ::java::lang::Object
+{
+
+public:
+ Segment();
+ virtual void add(::gnu::java::awt::java2d::Segment *);
+ virtual void reverseAll();
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual JArray< jdouble > * normal(jdouble, jdouble, jdouble, jdouble);
+public:
+ virtual void reverse() = 0;
+ virtual JArray< ::gnu::java::awt::java2d::Segment * > * getDisplacedSegments(jdouble) = 0;
+ virtual JArray< jdouble > * cp1() = 0;
+ virtual JArray< jdouble > * cp2() = 0;
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::java::lang::Object)))) P1;
+ ::java::awt::geom::Point2D * P2;
+ ::gnu::java::awt::java2d::Segment * first;
+ ::gnu::java::awt::java2d::Segment * next;
+ ::gnu::java::awt::java2d::Segment * last;
+public: // actually protected
+ jdouble radius;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_Segment__
diff --git a/libjava/gnu/java/awt/java2d/ShapeCache.h b/libjava/gnu/java/awt/java2d/ShapeCache.h
new file mode 100644
index 000000000..1ae8ffdac
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ShapeCache.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ShapeCache__
+#define __gnu_java_awt_java2d_ShapeCache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ShapeCache;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Polygon;
+ class Rectangle;
+ namespace geom
+ {
+ class Arc2D;
+ class Ellipse2D;
+ class GeneralPath;
+ class Line2D;
+ class RoundRectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ShapeCache : public ::java::lang::Object
+{
+
+public:
+ ShapeCache();
+ ::java::awt::geom::Line2D * __attribute__((aligned(__alignof__( ::java::lang::Object)))) line;
+ ::java::awt::Rectangle * rect;
+ ::java::awt::geom::RoundRectangle2D * roundRect;
+ ::java::awt::geom::Ellipse2D * ellipse;
+ ::java::awt::geom::Arc2D * arc;
+ ::java::awt::Polygon * polygon;
+ ::java::awt::geom::GeneralPath * polyline;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ShapeCache__
diff --git a/libjava/gnu/java/awt/java2d/ShapeWrapper.h b/libjava/gnu/java/awt/java2d/ShapeWrapper.h
new file mode 100644
index 000000000..62c9b357e
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/ShapeWrapper.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_ShapeWrapper__
+#define __gnu_java_awt_java2d_ShapeWrapper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class ShapeWrapper;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::ShapeWrapper : public ::java::lang::Object
+{
+
+public:
+ ShapeWrapper(::java::awt::Shape *);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+private:
+ ::java::awt::Shape * __attribute__((aligned(__alignof__( ::java::lang::Object)))) shape;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_ShapeWrapper__
diff --git a/libjava/gnu/java/awt/java2d/TextCacheKey.h b/libjava/gnu/java/awt/java2d/TextCacheKey.h
new file mode 100644
index 000000000..9904a6a3e
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/TextCacheKey.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_TextCacheKey__
+#define __gnu_java_awt_java2d_TextCacheKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class TextCacheKey;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class FontRenderContext;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::TextCacheKey : public ::java::lang::Object
+{
+
+public:
+ TextCacheKey();
+ TextCacheKey(::java::lang::String *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *);
+ virtual void setString(::java::lang::String *);
+ virtual void setFontRenderContext(::java::awt::font::FontRenderContext *);
+ virtual void setFont(::java::awt::Font *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) string;
+ ::java::awt::font::FontRenderContext * fontRenderContext;
+ ::java::awt::Font * font;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_TextCacheKey__
diff --git a/libjava/gnu/java/awt/java2d/TexturePaintContext.h b/libjava/gnu/java/awt/java2d/TexturePaintContext.h
new file mode 100644
index 000000000..5074e62c1
--- /dev/null
+++ b/libjava/gnu/java/awt/java2d/TexturePaintContext.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_java2d_TexturePaintContext__
+#define __gnu_java_awt_java2d_TexturePaintContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class TexturePaintContext;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class TexturePaint;
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::java2d::TexturePaintContext : public ::java::lang::Object
+{
+
+public:
+ TexturePaintContext(::java::awt::TexturePaint *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *);
+ virtual void dispose();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::Raster * getRaster(jint, jint, jint, jint);
+private:
+ void ensureRasterSize(jint, jint);
+ ::java::awt::image::BufferedImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
+ ::java::awt::image::WritableRaster * paintRaster;
+ ::java::awt::geom::AffineTransform * transform;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_java2d_TexturePaintContext__