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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [image/] [ColorModel.h] - Blame information for rev 758

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_image_ColorModel__
5
#define __java_awt_image_ColorModel__
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
      namespace color
19
      {
20
          class ColorSpace;
21
      }
22
      namespace image
23
      {
24
          class ColorModel;
25
          class Raster;
26
          class SampleModel;
27
          class WritableRaster;
28
      }
29
    }
30
  }
31
}
32
 
33
class java::awt::image::ColorModel : public ::java::lang::Object
34
{
35
 
36
public: // actually package-private
37
  static JArray< jint > * nArray(jint, jint);
38
  static JArray< jbyte > * nArray(jbyte, jint);
39
public:
40
  ColorModel(jint);
41
public: // actually protected
42
  ColorModel(jint, JArray< jint > *, ::java::awt::color::ColorSpace *, jboolean, jboolean, jint, jint);
43
public:
44
  virtual void finalize();
45
  static ::java::awt::image::ColorModel * getRGBdefault();
46
  virtual jboolean hasAlpha();
47
  virtual jboolean isAlphaPremultiplied();
48
  virtual jint getPixelSize();
49
  virtual jint getComponentSize(jint);
50
  virtual JArray< jint > * getComponentSize();
51
  virtual jint getTransparency();
52
  virtual jint getNumComponents();
53
  virtual jint getNumColorComponents();
54
  virtual jint getRed(jint) = 0;
55
  virtual jint getGreen(jint) = 0;
56
  virtual jint getBlue(jint) = 0;
57
  virtual jint getAlpha(jint) = 0;
58
  virtual jint getRGB(jint);
59
public: // actually package-private
60
  virtual jint getPixelFromArray(::java::lang::Object *);
61
public:
62
  virtual jint getRed(::java::lang::Object *);
63
  virtual jint getGreen(::java::lang::Object *);
64
  virtual jint getBlue(::java::lang::Object *);
65
  virtual jint getAlpha(::java::lang::Object *);
66
  virtual jint getRGB(::java::lang::Object *);
67
  virtual ::java::lang::Object * getDataElements(jint, ::java::lang::Object *);
68
  virtual JArray< jint > * getComponents(jint, JArray< jint > *, jint);
69
  virtual JArray< jint > * getComponents(::java::lang::Object *, JArray< jint > *, jint);
70
  virtual JArray< jint > * getUnnormalizedComponents(JArray< jfloat > *, jint, JArray< jint > *, jint);
71
  virtual JArray< jfloat > * getNormalizedComponents(JArray< jint > *, jint, JArray< jfloat > *, jint);
72
  virtual JArray< jfloat > * getNormalizedComponents(::java::lang::Object *, JArray< jfloat > *, jint);
73
  virtual jint getDataElement(JArray< jint > *, jint);
74
  virtual jint getDataElement(JArray< jfloat > *, jint);
75
  virtual ::java::lang::Object * getDataElements(JArray< jint > *, jint, ::java::lang::Object *);
76
  virtual ::java::lang::Object * getDataElements(JArray< jfloat > *, jint, ::java::lang::Object *);
77
  virtual jboolean equals(::java::lang::Object *);
78
  virtual ::java::awt::color::ColorSpace * getColorSpace();
79
  virtual ::java::awt::image::ColorModel * coerceData(::java::awt::image::WritableRaster *, jboolean);
80
public: // actually package-private
81
  virtual void coerceDataWorker(::java::awt::image::WritableRaster *, jboolean);
82
public:
83
  virtual jboolean isCompatibleRaster(::java::awt::image::Raster *);
84
  virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
85
  virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
86
  virtual jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
87
  virtual jint getTransferType();
88
  virtual ::java::awt::image::WritableRaster * getAlphaRaster(::java::awt::image::WritableRaster *);
89
public: // actually package-private
90
  virtual ::java::lang::String * stringParam();
91
public:
92
  virtual ::java::lang::String * toString();
93
public: // actually protected
94
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) pixel_bits;
95
  jint transferType;
96
public: // actually package-private
97
  JArray< jint > * bits;
98
  ::java::awt::color::ColorSpace * cspace;
99
  jint transparency;
100
  jboolean hasAlpha__;
101
  jboolean isAlphaPremultiplied__;
102
private:
103
  static ::java::awt::image::ColorModel * S_RGB_MODEL;
104
public:
105
  static ::java::lang::Class class$;
106
};
107
 
108
#endif // __java_awt_image_ColorModel__

powered by: WebSVN 2.1.0

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