You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.3 KiB
52 lines
2.3 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <tqpolygonscanner.h>
|
|
#include <tqpointarray.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <qtjava/TQPolygonScanner.h>
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_processSpans(JNIEnv* env, jobject obj, jint n, jobject point, jintArray width)
|
|
{
|
|
int* _int_width = QtSupport::toIntPtr(env, width);
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->processSpans((int) n, (TQPoint*) QtSupport::getQt(env, point), (int*) _int_width);
|
|
env->SetIntArrayRegion(width, 0, 1, (jint *) _int_width);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject pa, jboolean winding)
|
|
{
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index)
|
|
{
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints)
|
|
{
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jint edges)
|
|
{
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (TQPolygonScanner::Edge) edges);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIIZ(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jboolean stitchable)
|
|
{
|
|
((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (bool) stitchable);
|
|
return;
|
|
}
|
|
|