diff options
Diffstat (limited to 'tdejava/koala/tdejava/KImageEffect.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KImageEffect.cpp | 712 |
1 files changed, 712 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KImageEffect.cpp b/tdejava/koala/tdejava/KImageEffect.cpp new file mode 100644 index 00000000..4cfec88a --- /dev/null +++ b/tdejava/koala/tdejava/KImageEffect.cpp @@ -0,0 +1,712 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqsize.h> +#include <tqrect.h> +#include <kimageeffect.h> +#include <tqimage.h> +#include <tqpoint.h> +#include <tqcolor.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/KImageEffect.h> + +class KImageEffectJBridge : public KImageEffect +{ +public: + KImageEffectJBridge() : KImageEffect() {}; + ~KImageEffectJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_addNoise__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_addNoise__Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint type) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::NoiseType) type)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blendOnLower__IILorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jint x, jint y, jobject upper, jobject lower) +{ + (void) cls; + jboolean xret = (jboolean) KImageEffectJBridge::blendOnLower((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blendOnLower__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2IF(JNIEnv* env, jclass cls, jobject upper, jobject lower, jint disposition, jfloat opacity) +{ + (void) cls; + KImageEffectJBridge::blendOnLower((TQImage&)*(TQImage*) QtSupport::getQt(env, upper), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (KImageEffect::Disposition) disposition, (float) opacity); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blendOnLower__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect) +{ + (void) cls; + KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blendOnLower__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QRect_2F(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect, jfloat opacity) +{ + (void) cls; + KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect), (float) opacity); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QImage_2F(JNIEnv* env, jclass cls, jobject clr, jobject dst, jfloat opacity) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2FLorg_trinitydesktop_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2FLorg_trinitydesktop_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff, (bool) anti_dir), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2F(JNIEnv* env, jclass cls, jobject src, jobject dst, jfloat opacity) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2III(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf, jint yf) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf, (int) yf), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject upper, jobject lower, jobject output) +{ + (void) cls; + jboolean xret = (jboolean) KImageEffectJBridge::blend((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jobject blendImage, jint channel) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (TQImage&)*(TQImage*) QtSupport::getQt(env, blendImage), (KImageEffect::RGBComponent) channel), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blend___3I_3ILorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jintArray x, jintArray y, jobject upper, jobject lower, jobject output) +{ + (void) cls; + int* _int_x = QtSupport::toIntPtr(env, x); + int* _int_y = QtSupport::toIntPtr(env, y); + jboolean xret = (jboolean) KImageEffectJBridge::blend( (int&) *_int_x, (int&) *_int_y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); + env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); + env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blur__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blur__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_blur__Lorg_trinitydesktop_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_bumpmap(JNIEnv* env, jclass cls, jobject img, jobject map, jdouble azimuth, jdouble elevation, jint depth, jint xofs, jint yofs, jint waterlevel, jint ambient, jboolean compensate, jboolean invert, jint type, jboolean tiled) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::bumpmap((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImage&)*(TQImage*) QtSupport::getQt(env, map), (double) azimuth, (double) elevation, (int) depth, (int) xofs, (int) yofs, (int) waterlevel, (int) ambient, (bool) compensate, (bool) invert, (KImageEffect::BumpmapType) type, (bool) tiled)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_channelIntensity(JNIEnv* env, jclass cls, jobject image, jfloat percent, jint channel) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::channelIntensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent, (KImageEffect::RGBComponent) channel), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_charcoal__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_charcoal__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_charcoal__Lorg_trinitydesktop_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_computeDestinationRect(JNIEnv* env, jclass cls, jobject lowerSize, jint disposition, jobject upper) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KImageEffectJBridge::computeDestinationRect((const TQSize&)*(const TQSize*) QtSupport::getQt(env, lowerSize), (KImageEffect::Disposition) disposition, (TQImage&)*(TQImage*) QtSupport::getQt(env, upper))), "org.trinitydesktop.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_contrastHSV__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_contrastHSV__Lorg_trinitydesktop_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject img, jboolean sharpen) +{ + (void) cls; + KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (bool) sharpen); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_contrast(JNIEnv* env, jclass cls, jobject image, jint c) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::contrast((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (int) c), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_desaturate__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_desaturate__Lorg_trinitydesktop_qt_QImage_2F(JNIEnv* env, jclass cls, jobject image, jfloat desat) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) desat), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_despeckle(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::despeckle((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_dispose(JNIEnv* env, jobject obj) +{ + Java_org_trinitydesktop_koala_KImageEffect_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_dither(JNIEnv* env, jclass cls, jobject image, jobject palette, jint size) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::dither((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor*) QtSupport::getQt(env, palette), (int) size), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_edge(JNIEnv* env, jclass cls, jobject src, jdouble radius) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::edge((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_emboss__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_emboss__Lorg_trinitydesktop_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_equalize(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + KImageEffectJBridge::equalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_fade(JNIEnv* env, jclass cls, jobject image, jfloat val, jobject color) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::fade((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) val, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (KImageEffect*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_flatten__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_flatten__Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb, jint ncols) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_gradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_gradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint ncols) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) ncols)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_hash__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_hash__Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image, jint lite) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_hash__Lorg_trinitydesktop_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image, jint lite, jint spacing) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite, (unsigned int) spacing), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_implode__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_implode__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_implode__Lorg_trinitydesktop_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble factor, jint background) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor, (unsigned int) background)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_intensity(JNIEnv* env, jclass cls, jobject image, jfloat percent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::intensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KImageEffect_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_modulate(JNIEnv* env, jclass cls, jobject image, jobject modImage, jboolean reverse, jint type, jint factor, jint channel) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::modulate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (TQImage&)*(TQImage*) QtSupport::getQt(env, modImage), (bool) reverse, (KImageEffect::ModulationType) type, (int) factor, (KImageEffect::RGBComponent) channel), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_newKImageEffect(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KImageEffectJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_normalize(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + KImageEffectJBridge::normalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_oilPaintConvolve(JNIEnv* env, jclass cls, jobject src, jdouble radius) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaintConvolve((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_oilPaint__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_oilPaint__Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint radius) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) radius)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_rotate(JNIEnv* env, jclass cls, jobject src, jint r) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::rotate((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::RotateDirection) r)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_sample(JNIEnv* env, jclass cls, jobject src, jint w, jint h) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sample((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) w, (int) h)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_selectedImage(JNIEnv* env, jclass cls, jobject img, jobject col) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::selectedImage((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_shade__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_shade__Lorg_trinitydesktop_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject src, jboolean color_shading) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_shade__Lorg_trinitydesktop_qt_QImage_2ZD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_shade__Lorg_trinitydesktop_qt_QImage_2ZDD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth, jdouble elevation) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth, (double) elevation)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_sharpen__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_sharpen__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_sharpen__Lorg_trinitydesktop_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_solarize__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_solarize__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject img, jdouble factor) +{ + (void) cls; + KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (double) factor); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_spread__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_spread__Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint amount) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (unsigned int) amount)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_swirl__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_swirl__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble degrees) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_swirl__Lorg_trinitydesktop_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble degrees, jint background) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees, (unsigned int) background)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_threshold__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KImageEffect_threshold__Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jclass cls, jobject img, jint value) +{ + (void) cls; + KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (unsigned int) value); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_toGray__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_toGray__Lorg_trinitydesktop_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject image, jboolean fast) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (bool) fast), "org.trinitydesktop.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_unbalancedGradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_unbalancedGradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_unbalancedGradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2III(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_unbalancedGradient__Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_wave__Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_wave__Lorg_trinitydesktop_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble amplitude) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_wave__Lorg_trinitydesktop_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KImageEffect_wave__Lorg_trinitydesktop_qt_QImage_2DDI(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency, jint background) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency, (unsigned int) background)), "org.trinitydesktop.qt.TQImage", TRUE); + return xret; +} + |