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
|
//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);
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->processSpans((int) n, (TTQPoint*) 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)
{
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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)
{
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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)
{
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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)
{
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (TTQPolygonScanner::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)
{
((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (bool) stitchable);
return;
}
|