2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / libjava / java / awt / GradientPaint.h
blob075e139d669ca78e626b61f9e0d66ece36b804b3
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_GradientPaint__
5 #define __java_awt_GradientPaint__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 class Color;
17 class GradientPaint;
18 class PaintContext;
19 class Rectangle;
20 class RenderingHints;
21 namespace geom
23 class AffineTransform;
24 class Point2D;
25 class Rectangle2D;
27 namespace image
29 class ColorModel;
35 class java::awt::GradientPaint : public ::java::lang::Object
38 public:
39 GradientPaint(jfloat, jfloat, ::java::awt::Color *, jfloat, jfloat, ::java::awt::Color *);
40 GradientPaint(::java::awt::geom::Point2D *, ::java::awt::Color *, ::java::awt::geom::Point2D *, ::java::awt::Color *);
41 GradientPaint(jfloat, jfloat, ::java::awt::Color *, jfloat, jfloat, ::java::awt::Color *, jboolean);
42 GradientPaint(::java::awt::geom::Point2D *, ::java::awt::Color *, ::java::awt::geom::Point2D *, ::java::awt::Color *, jboolean);
43 virtual ::java::awt::geom::Point2D * getPoint1();
44 virtual ::java::awt::Color * getColor1();
45 virtual ::java::awt::geom::Point2D * getPoint2();
46 virtual ::java::awt::Color * getColor2();
47 virtual jboolean isCyclic();
48 virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
49 virtual jint getTransparency();
50 private:
51 jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) x1;
52 jfloat y1;
53 ::java::awt::Color * c1;
54 jfloat x2;
55 jfloat y2;
56 ::java::awt::Color * c2;
57 jboolean cyclic;
58 public:
59 static ::java::lang::Class class$;
62 #endif // __java_awt_GradientPaint__