1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_AffineTransformOp__
|
5 |
|
|
#define __java_awt_image_AffineTransformOp__
|
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 |
|
|
class RenderingHints;
|
19 |
|
|
namespace geom
|
20 |
|
|
{
|
21 |
|
|
class AffineTransform;
|
22 |
|
|
class Point2D;
|
23 |
|
|
class Rectangle2D;
|
24 |
|
|
}
|
25 |
|
|
namespace image
|
26 |
|
|
{
|
27 |
|
|
class AffineTransformOp;
|
28 |
|
|
class BufferedImage;
|
29 |
|
|
class ColorModel;
|
30 |
|
|
class Raster;
|
31 |
|
|
class WritableRaster;
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
|
37 |
|
|
class java::awt::image::AffineTransformOp : public ::java::lang::Object
|
38 |
|
|
{
|
39 |
|
|
|
40 |
|
|
public:
|
41 |
|
|
AffineTransformOp(::java::awt::geom::AffineTransform *, jint);
|
42 |
|
|
AffineTransformOp(::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
|
43 |
|
|
virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
|
44 |
|
|
virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
|
45 |
|
|
virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
|
46 |
|
|
virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
|
47 |
|
|
virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
|
48 |
|
|
virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
|
49 |
|
|
virtual jint getInterpolationType();
|
50 |
|
|
virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
|
51 |
|
|
virtual ::java::awt::RenderingHints * getRenderingHints();
|
52 |
|
|
virtual ::java::awt::geom::AffineTransform * getTransform();
|
53 |
|
|
private:
|
54 |
|
|
void filterNearest(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
|
55 |
|
|
void filterBilinear(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
|
56 |
|
|
void filterBicubic(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
|
57 |
|
|
public:
|
58 |
|
|
static const jint TYPE_NEAREST_NEIGHBOR = 1;
|
59 |
|
|
static const jint TYPE_BILINEAR = 2;
|
60 |
|
|
static const jint TYPE_BICUBIC = 3;
|
61 |
|
|
private:
|
62 |
|
|
::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::lang::Object)))) transform;
|
63 |
|
|
::java::awt::RenderingHints * hints;
|
64 |
|
|
public:
|
65 |
|
|
static ::java::lang::Class class$;
|
66 |
|
|
};
|
67 |
|
|
|
68 |
|
|
#endif // __java_awt_image_AffineTransformOp__
|