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

Subversion Repositories openrisc

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

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_image_IndexColorModel__
5
#define __java_awt_image_IndexColorModel__
6
 
7
#pragma interface
8
 
9
#include <java/awt/image/ColorModel.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
      namespace image
19
      {
20
          class BufferedImage;
21
          class IndexColorModel;
22
          class Raster;
23
          class SampleModel;
24
      }
25
    }
26
    namespace math
27
    {
28
        class BigInteger;
29
    }
30
  }
31
}
32
 
33
class java::awt::image::IndexColorModel : public ::java::awt::image::ColorModel
34
{
35
 
36
public:
37
  IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
38
  IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, jint);
39
  IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
40
  IndexColorModel(jint, jint, JArray< jbyte > *, jint, jboolean);
41
  IndexColorModel(jint, jint, JArray< jbyte > *, jint, jboolean, jint);
42
  IndexColorModel(jint, jint, JArray< jint > *, jint, jboolean, jint, jint);
43
  IndexColorModel(jint, jint, JArray< jint > *, jint, jint, ::java::math::BigInteger *);
44
  virtual jint getMapSize();
45
  virtual jint getTransparentPixel();
46
  virtual void getReds(JArray< jbyte > *);
47
  virtual void getGreens(JArray< jbyte > *);
48
  virtual void getBlues(JArray< jbyte > *);
49
  virtual void getAlphas(JArray< jbyte > *);
50
  virtual jint getRed(jint);
51
  virtual jint getGreen(jint);
52
  virtual jint getBlue(jint);
53
  virtual jint getAlpha(jint);
54
  virtual jint getRGB(jint);
55
  virtual void getRGBs(JArray< jint > *);
56
  virtual jboolean isValid(jint);
57
  virtual jboolean isValid();
58
  virtual ::java::math::BigInteger * getValidPixels();
59
  virtual ::java::awt::image::BufferedImage * convertToIntDiscrete(::java::awt::image::Raster *, jboolean);
60
  virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
61
private:
62
  void setTransparentPixel(jint);
63
  JArray< jint > * createColorMap(jint, jint);
64
  jint __attribute__((aligned(__alignof__( ::java::awt::image::ColorModel)))) map_size;
65
  jboolean opaque;
66
  jint trans;
67
  JArray< jint > * rgb;
68
  ::java::math::BigInteger * validBits;
69
public:
70
  static ::java::lang::Class class$;
71
};
72
 
73
#endif // __java_awt_image_IndexColorModel__

powered by: WebSVN 2.1.0

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