diff options
Diffstat (limited to 'libjava/gnu/java/awt/java2d')
-rw-r--r-- | libjava/gnu/java/awt/java2d/AbstractGraphics2D.h | 214 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/AlphaCompositeContext.h | 57 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/CubicSegment.h | 56 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/ImagePaint$ImagePaintContext.h | 60 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/ImagePaint.h | 61 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/LineSegment.h | 54 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/PolyEdge.h | 47 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/PolyEdgeComparator.h | 39 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/QuadSegment.h | 61 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/RasterGraphics.h | 56 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/Segment.h | 65 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/ShapeCache.h | 56 | ||||
-rw-r--r-- | libjava/gnu/java/awt/java2d/TexturePaintContext.h | 64 |
13 files changed, 890 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 00000000000..b8933b32db9 --- /dev/null +++ b/libjava/gnu/java/awt/java2d/AbstractGraphics2D.h @@ -0,0 +1,214 @@ + +// 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 ShapeCache; + } + } + } + } + namespace java + { + namespace awt + { + 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; + class Rectangle2D; + } + 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(); + virtual void rawDrawLine(jint, jint, jint, jint); + virtual void rawDrawRect(jint, jint, jint, jint); + virtual void rawDrawString(::java::lang::String *, 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); + void fillShapeImpl(::java::util::ArrayList *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *); +public: // actually protected + virtual void fillScanline(::java::awt::PaintContext *, jint, jint, jint); +private: + void fillShapeAntialias(::java::util::ArrayList *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *); + void fillScanlineAA(JArray< jint > *, jint, jint, jint, ::java::awt::PaintContext *, jint); +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 *); + ::java::util::ArrayList * getSegments(::java::awt::Shape *, ::java::awt::geom::AffineTransform *, ::java::awt::geom::Rectangle2D *, jboolean); + ::gnu::java::awt::java2d::ShapeCache * getShapeCache(); + static const jint AA_SAMPLING = 8; + static ::java::lang::ThreadLocal * shapeCache; +public: // actually protected + ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) transform__; +private: + ::java::awt::Paint * paint; + ::java::awt::Color * background; + ::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; + JArray< jint > * alpha; + JArray< ::java::util::ArrayList * > * edgeTable; + jboolean isOptimized; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_java2d_AbstractGraphics2D__ diff --git a/libjava/gnu/java/awt/java2d/AlphaCompositeContext.h b/libjava/gnu/java/awt/java2d/AlphaCompositeContext.h new file mode 100644 index 00000000000..9c591a4d9c8 --- /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 00000000000..c7ef3b29cbc --- /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 00000000000..b0a1d087d8a --- /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 00000000000..e9e2ea2519d --- /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 00000000000..50f51e04bf3 --- /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/PolyEdge.h b/libjava/gnu/java/awt/java2d/PolyEdge.h new file mode 100644 index 00000000000..6698599d6ac --- /dev/null +++ b/libjava/gnu/java/awt/java2d/PolyEdge.h @@ -0,0 +1,47 @@ + +// 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(jdouble, jdouble, jdouble, jdouble, jboolean); +public: + virtual jint compareTo(::java::lang::Object *); + virtual ::java::lang::String * toString(); + jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) x0; + jdouble y0; + jdouble x1; + jdouble y1; +public: // actually package-private + jdouble slope; + jdouble xIntersection; + jboolean isClip; +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 00000000000..b27bdaf906f --- /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 00000000000..10752415374 --- /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 00000000000..41ab8d7dceb --- /dev/null +++ b/libjava/gnu/java/awt/java2d/RasterGraphics.h @@ -0,0 +1,56 @@ + +// 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; + } + } + } + } + namespace java + { + namespace awt + { + class GraphicsConfiguration; + 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 *); +public: // actually protected + virtual ::java::awt::image::ColorModel * getColorModel(); + virtual ::java::awt::image::WritableRaster * getDestinationRaster(); +public: + virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration(); +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/Segment.h b/libjava/gnu/java/awt/java2d/Segment.h new file mode 100644 index 00000000000..3e771bbbc32 --- /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 00000000000..ac7f3dacdba --- /dev/null +++ b/libjava/gnu/java/awt/java2d/ShapeCache.h @@ -0,0 +1,56 @@ + +// 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 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; + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_java2d_ShapeCache__ diff --git a/libjava/gnu/java/awt/java2d/TexturePaintContext.h b/libjava/gnu/java/awt/java2d/TexturePaintContext.h new file mode 100644 index 00000000000..5074e62c16c --- /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__ |