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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [color/] [ColorSpace.h] - Blame information for rev 766

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_ColorSpace__
5
#define __java_awt_color_ColorSpace__
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
    }
23
  }
24
}
25
 
26
class java::awt::color::ColorSpace : public ::java::lang::Object
27
{
28
 
29
public: // actually protected
30
  ColorSpace(jint, jint);
31
public:
32
  static ::java::awt::color::ColorSpace * getInstance(jint);
33
  virtual jboolean isCS_sRGB();
34
  virtual JArray< jfloat > * toRGB(JArray< jfloat > *) = 0;
35
  virtual JArray< jfloat > * fromRGB(JArray< jfloat > *) = 0;
36
  virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *) = 0;
37
  virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *) = 0;
38
  virtual jint getType();
39
  virtual jint getNumComponents();
40
  virtual ::java::lang::String * getName(jint);
41
  virtual jfloat getMinValue(jint);
42
  virtual jfloat getMaxValue(jint);
43
private:
44
  static const jlong serialVersionUID = -409452704308689724LL;
45
public:
46
  static const jint TYPE_XYZ = 0;
47
  static const jint TYPE_Lab = 1;
48
  static const jint TYPE_Luv = 2;
49
  static const jint TYPE_YCbCr = 3;
50
  static const jint TYPE_Yxy = 4;
51
  static const jint TYPE_RGB = 5;
52
  static const jint TYPE_GRAY = 6;
53
  static const jint TYPE_HSV = 7;
54
  static const jint TYPE_HLS = 8;
55
  static const jint TYPE_CMYK = 9;
56
  static const jint TYPE_CMY = 11;
57
  static const jint TYPE_2CLR = 12;
58
  static const jint TYPE_3CLR = 13;
59
  static const jint TYPE_4CLR = 14;
60
  static const jint TYPE_5CLR = 15;
61
  static const jint TYPE_6CLR = 16;
62
  static const jint TYPE_7CLR = 17;
63
  static const jint TYPE_8CLR = 18;
64
  static const jint TYPE_9CLR = 19;
65
  static const jint TYPE_ACLR = 20;
66
  static const jint TYPE_BCLR = 21;
67
  static const jint TYPE_CCLR = 22;
68
  static const jint TYPE_DCLR = 23;
69
  static const jint TYPE_ECLR = 24;
70
  static const jint TYPE_FCLR = 25;
71
  static const jint CS_sRGB = 1000;
72
  static const jint CS_LINEAR_RGB = 1004;
73
  static const jint CS_CIEXYZ = 1001;
74
  static const jint CS_PYCC = 1002;
75
  static const jint CS_GRAY = 1003;
76
private:
77
  static const jint CS_BASE = 1000;
78
  static const jint CS_END = 1005;
79
  static const jint CS_COUNT = 5;
80
  static JArray< ::java::awt::color::ColorSpace * > * INSTANCES;
81
public: // actually package-private
82
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
83
  jint numComponents;
84
public:
85
  static ::java::lang::Class class$;
86
};
87
 
88
#endif // __java_awt_color_ColorSpace__

powered by: WebSVN 2.1.0

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