open Udiff src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c (original) (raw)
@@ -1,7 +1,7 @@ /*
- Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
- Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- This code is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License version 2 only, as
- published by the Free Software Foundation. Oracle designates this
@@ -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) {