OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [Color.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_awt_Color__
5
#define __java_awt_Color__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Color;
19
        class ColorPaintContext;
20
        class PaintContext;
21
        class Rectangle;
22
        class RenderingHints;
23
      namespace color
24
      {
25
          class ColorSpace;
26
      }
27
      namespace geom
28
      {
29
          class AffineTransform;
30
          class Rectangle2D;
31
      }
32
      namespace image
33
      {
34
          class ColorModel;
35
      }
36
    }
37
  }
38
}
39
 
40
class java::awt::Color : public ::java::lang::Object
41
{
42
 
43
public:
44
  Color(jint, jint, jint);
45
  Color(jint, jint, jint, jint);
46
  Color(jint);
47
  Color(jint, jboolean);
48
  Color(jfloat, jfloat, jfloat);
49
  Color(jfloat, jfloat, jfloat, jfloat);
50
  Color(::java::awt::color::ColorSpace *, JArray< jfloat > *, jfloat);
51
  virtual jint getRed();
52
  virtual jint getGreen();
53
  virtual jint getBlue();
54
  virtual jint getAlpha();
55
  virtual jint getRGB();
56
  virtual ::java::awt::Color * brighter();
57
  virtual ::java::awt::Color * darker();
58
  virtual jint hashCode();
59
  virtual jboolean equals(::java::lang::Object *);
60
  virtual ::java::lang::String * toString();
61
  static ::java::awt::Color * decode(::java::lang::String *);
62
  static ::java::awt::Color * getColor(::java::lang::String *);
63
  static ::java::awt::Color * getColor(::java::lang::String *, ::java::awt::Color *);
64
  static ::java::awt::Color * getColor(::java::lang::String *, jint);
65
  static jint HSBtoRGB(jfloat, jfloat, jfloat);
66
  static JArray< jfloat > * RGBtoHSB(jint, jint, jint, JArray< jfloat > *);
67
  static ::java::awt::Color * getHSBColor(jfloat, jfloat, jfloat);
68
  virtual JArray< jfloat > * getRGBComponents(JArray< jfloat > *);
69
  virtual JArray< jfloat > * getRGBColorComponents(JArray< jfloat > *);
70
  virtual JArray< jfloat > * getComponents(JArray< jfloat > *);
71
  virtual JArray< jfloat > * getColorComponents(JArray< jfloat > *);
72
  virtual JArray< jfloat > * getComponents(::java::awt::color::ColorSpace *, JArray< jfloat > *);
73
  virtual JArray< jfloat > * getColorComponents(::java::awt::color::ColorSpace *, JArray< jfloat > *);
74
  virtual ::java::awt::color::ColorSpace * getColorSpace();
75
  virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
76
  virtual jint getTransparency();
77
private:
78
  static jint convert(jfloat, jfloat, jfloat, jfloat);
79
  static const jlong serialVersionUID = 118526816881161077LL;
80
public:
81
  static ::java::awt::Color * white;
82
  static ::java::awt::Color * WHITE;
83
  static ::java::awt::Color * lightGray;
84
  static ::java::awt::Color * LIGHT_GRAY;
85
  static ::java::awt::Color * gray;
86
  static ::java::awt::Color * GRAY;
87
  static ::java::awt::Color * darkGray;
88
  static ::java::awt::Color * DARK_GRAY;
89
  static ::java::awt::Color * black;
90
  static ::java::awt::Color * BLACK;
91
  static ::java::awt::Color * red;
92
  static ::java::awt::Color * RED;
93
  static ::java::awt::Color * pink;
94
  static ::java::awt::Color * PINK;
95
  static ::java::awt::Color * orange;
96
  static ::java::awt::Color * ORANGE;
97
  static ::java::awt::Color * yellow;
98
  static ::java::awt::Color * YELLOW;
99
  static ::java::awt::Color * green;
100
  static ::java::awt::Color * GREEN;
101
  static ::java::awt::Color * magenta;
102
  static ::java::awt::Color * MAGENTA;
103
  static ::java::awt::Color * cyan;
104
  static ::java::awt::Color * CYAN;
105
  static ::java::awt::Color * blue;
106
  static ::java::awt::Color * BLUE;
107
private:
108
  static const jint RED_MASK = 16711680;
109
  static const jint GREEN_MASK = 65280;
110
  static const jint BLUE_MASK = 255;
111
public: // actually package-private
112
  static const jint ALPHA_MASK = -16777216;
113
private:
114
  static jfloat BRIGHT_SCALE;
115
public: // actually package-private
116
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
117
private:
118
  JArray< jfloat > * frgbvalue;
119
  JArray< jfloat > * fvalue;
120
  jfloat falpha;
121
  ::java::awt::color::ColorSpace * cs;
122
public: // actually package-private
123
  ::java::awt::ColorPaintContext * context;
124
public:
125
  static ::java::lang::Class class$;
126
};
127
 
128
#endif // __java_awt_Color__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.