ImageFilter.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_IMAGE_IMAGEFILTER_H
00002 #define JAVA_AWT_IMAGE_IMAGEFILTER_H 1
00003 
00004 #ifndef JAVA_AWT_IMAGE_IMAGECONSUMER_H
00005 #include <java_awt_image/ImageConsumer.h>
00006 #endif /* JAVA_AWT_IMAGE_IMAGECONSUMER_H */
00007 #ifndef JAVA_AWT_IMAGE_IMAGEPRODUCER_H
00008 #include <java_awt_image/ImageProducer.h>
00009 #endif /* JAVA_AWT_IMAGE_IMAGEPRODUCER_H */
00010 #ifndef JAVA_AWT_SPEC
00011 #include <java_awt/Spec.h>
00012 #endif /* JAVA_AWT_SPEC */
00013 
00014 namespace java {
00015   namespace awt {
00016     namespace image {
00017 
00034       class JAVA_AWT_SPEC ImageFilter : virtual public Object, virtual public ImageConsumer {
00035 
00036       public:
00037 
00038         ImageFilter(const Ref<ImageConsumer>& _consumer = 0);
00039 
00054         Ref<ImageFilter> getFilterInstance(const Ref<ImageConsumer>& ic) const;
00055 
00062         virtual void setDimensions(jint width, jint height);
00063 
00069         virtual void setProperties(const Ref<Map>& props);
00070 
00087         virtual void setColorModel(const Ref<ColorModel>& model);
00088 
00104         virtual void setHints(jint hintflags);
00105 
00126         virtual void setPixels
00127           (jint x, jint y, jint w, jint h,
00128            const Ref<ColorModel>& model, const Array<jbyte>& pixels, jint off, jint scansize);
00129 
00151         virtual void setPixels
00152           (jint x, jint y, jint w, jint h,
00153            const Ref<ColorModel>& model, const Array<jint>& pixels, jint off, jint scansize);
00154 
00166         virtual void imageComplete(jint status);
00167 
00190         virtual void resendTopDownLeftRight(const Ref<ImageProducer>& ip);
00191 
00192       private:
00193 
00194         Ref<ImageConsumer> consumer;
00195         REGISTER_MEMBERS;
00196 
00197       };
00198 
00199     } // namespace image
00200   } // namespace awt
00201 } // namespace java
00202 
00203 #endif /* JAVA_AWT_IMAGE_IMAGEFILTER_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3