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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_awt_image_ImageConverter__
5
#define __gnu_java_awt_image_ImageConverter__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace awt
19
      {
20
        namespace image
21
        {
22
            class AsyncImage;
23
            class ImageConverter;
24
        }
25
      }
26
    }
27
  }
28
  namespace java
29
  {
30
    namespace awt
31
    {
32
        class Image;
33
      namespace image
34
      {
35
          class BufferedImage;
36
          class ColorModel;
37
          class IndexColorModel;
38
      }
39
    }
40
  }
41
}
42
 
43
class gnu::java::awt::image::ImageConverter : public ::java::lang::Object
44
{
45
 
46
public:
47
  ImageConverter();
48
  virtual void setDimensions(jint, jint);
49
  virtual void setProperties(::java::util::Hashtable *);
50
  virtual void setColorModel(::java::awt::image::ColorModel *);
51
  virtual void setHints(jint);
52
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
53
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
54
private:
55
  ::java::awt::image::ColorModel * setupColorModel(::java::awt::image::ColorModel *);
56
  void createImage();
57
  jint transferPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jint);
58
  jint transferPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jint);
59
  jint convertPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jint);
60
  jint convertPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jint);
61
  jint convertIndexColorModelToSRGB(jint, jint, jint, jint, ::java::awt::image::IndexColorModel *, JArray< jbyte > *, jint, jint, jint);
62
  jint convertIndexColorModelToSRGB(jint, jint, jint, jint, ::java::awt::image::IndexColorModel *, JArray< jint > *, jint, jint, jint);
63
  jint updateTransparency(jint, jint);
64
public:
65
  virtual void imageComplete(jint);
66
  virtual void setTargetColorModel(::java::awt::image::ColorModel *);
67
  virtual ::java::awt::Image * getImage();
68
  static ::java::lang::String * IMAGE_TRANSPARENCY_PROPERTY;
69
  static ::java::lang::String * IMAGE_PROPERTIES_PROPERTY;
70
private:
71
  ::gnu::java::awt::image::AsyncImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
72
  ::java::awt::image::BufferedImage * bImage;
73
  ::java::util::Hashtable * imageProperties;
74
  jint width;
75
  jint height;
76
  ::java::awt::image::ColorModel * colorModel;
77
  ::java::awt::image::ColorModel * targetColorModel;
78
public:
79
  static ::java::lang::Class class$;
80
};
81
 
82
#endif // __gnu_java_awt_image_ImageConverter__

powered by: WebSVN 2.1.0

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