summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/xlib/XImage.h
blob: 679c60de6b333b8ab76054dca4397f08ea415dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_xlib_XImage__
#define __gnu_gcj_xlib_XImage__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
      namespace xlib
      {
          class Visual;
          class XImage;
      }
    }
  }
}

class gnu::gcj::xlib::XImage : public ::java::lang::Object
{

public:
  XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint);
  XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint);
  virtual void init(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint);
private:
  void init(::gnu::gcj::xlib::Visual *, jint, jint);
public:
  XImage(::gnu::gcj::xlib::Visual *, jint, jint);
  XImage(::gnu::gcj::xlib::Visual *, jint, jint, jboolean);
  virtual void setData(JArray< jbyte > *, jint);
  virtual void setData(JArray< jshort > *, jint);
  virtual void setData(JArray< jint > *, jint);
private:
  void internalSetData(JArray< jbyte > *, jint);
  void internalSetData(JArray< jshort > *, jint);
  void internalSetData(JArray< jint > *, jint);
public: // actually protected
  virtual void finalize();
public:
  virtual jint getWidth();
  virtual jint getHeight();
  virtual jint getDepth();
  virtual jint getFormat();
  virtual jboolean isZPixmapFormat();
  virtual jint getXOffset();
  virtual jint getBytesPerLine();
  virtual jint getBitsPerPixel();
  virtual jint getImageByteOrder();
  virtual jint getBitmapBitOrder();
  virtual jint getBitmapUnit();
  virtual jint getBitmapPad();
  virtual jint getRedMask();
  virtual jint getGreenMask();
  virtual jint getBlueMask();
  virtual void setPixel(jint, jint, jint);
  virtual ::java::lang::String * toString();
public: // actually package-private
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dataRef;
public:
  static const jint XYBITMAP_FORMAT = 0;
  static const jint XYPIXMAP_FORMAT = 1;
  static const jint ZPIXMAP_FORMAT = 2;
  static const jint LEAST_SIGNIFICANT_B_FIRST_ORDER = 0;
  static const jint MOST_SIGNIFICANT_B_FIRST_ORDER = 1;
public: // actually package-private
  jboolean ownsData;
  ::gnu::gcj::RawData * structure;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_xlib_XImage__