src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.h
changeset 49440 396ea30afbd5
parent 47216 71c04702a3d5
child 56721 01b558efd286
equal deleted inserted replaced
49439:bf53d82a51e5 49440:396ea30afbd5
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    90     PHClip clipMode;
    90     PHClip clipMode;
    91     void* pData;
    91     void* pData;
    92 } ProcessHandler;
    92 } ProcessHandler;
    93 
    93 
    94 
    94 
    95 jboolean doDrawPath(DrawHandler* hnd,
    95 JNIEXPORT jboolean JNICALL
    96                     void (*pProcessEndSubPath)(ProcessHandler* hnd),
    96 doDrawPath(DrawHandler* hnd,
    97                     jint transX, jint transY,
    97            void (*pProcessEndSubPath)(ProcessHandler* hnd),
    98                     jfloat* coords, jint maxCoords,
    98            jint transX, jint transY,
    99                     jbyte* types, jint numTypes,
    99            jfloat* coords, jint maxCoords,
   100                     PHStroke stroke);
   100            jbyte* types, jint numTypes,
       
   101            PHStroke stroke);
   101 
   102 
   102 jboolean doFillPath(DrawHandler* hnd,
   103 JNIEXPORT jboolean JNICALL
   103                     jint transX, jint transY,
   104 doFillPath(DrawHandler* hnd,
   104                     jfloat* coords, jint maxCoords,
   105            jint transX, jint transY,
   105                     jbyte* types, jint numTypes,
   106            jfloat* coords, jint maxCoords,
   106                     PHStroke stroke,
   107            jbyte* types, jint numTypes,
   107                     jint fillRule);
   108            PHStroke stroke,
       
   109            jint fillRule);
   108 
   110 
   109 #endif
   111 #endif