open Udiff src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c (original) (raw)

< prev index next >

Print this page


@@ -1,7 +1,7 @@ /*


@@ -26,10 +26,11 @@ #include <math.h> #include <assert.h> #include <stdlib.h> #include <string.h> +#include "jni.h" #include "j2d_md.h" #include "java_awt_geom_PathIterator.h" #include "ProcessPath.h"

@@ -2175,11 +2176,12 @@ }

static void stubEndSubPath(ProcessHandler* hnd) { }

-jboolean doFillPath(DrawHandler* dhnd, +JNIEXPORT jboolean JNICALL +doFillPath(DrawHandler* dhnd, jint transX, jint transY, jfloat* coords, jint maxCoords, jbyte* types, jint numTypes, PHStroke stroke, jint fillRule) {


@@ -2215,11 +2217,12 @@ FillPolygon(&hnd, fillRule); FD_FREE_POINTS(&fillData); return JNI_TRUE; }

-jboolean doDrawPath(DrawHandler* dhnd, +JNIEXPORT jboolean JNICALL +doDrawPath(DrawHandler* dhnd, void (pProcessEndSubPath)(ProcessHandler), jint transX, jint transY, jfloat* coords, jint maxCoords, jbyte* types, jint numTypes, PHStroke stroke) {

< prev index next >