1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 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 |
549 Transform_transform(TransformInfo *pTxInfo, jdouble *pX, jdouble *pY); |
550 Transform_transform(TransformInfo *pTxInfo, jdouble *pX, jdouble *pY); |
550 |
551 |
551 void GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, |
552 void GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, |
552 jfloat *coords, jint maxCoords); |
553 jfloat *coords, jint maxCoords); |
553 |
554 |
554 extern jfieldID path2DTypesID; |
555 JNIEXPORT extern jfieldID path2DTypesID; |
555 extern jfieldID path2DNumTypesID; |
556 JNIEXPORT extern jfieldID path2DNumTypesID; |
556 extern jfieldID path2DWindingRuleID; |
557 JNIEXPORT extern jfieldID path2DWindingRuleID; |
557 extern jfieldID path2DFloatCoordsID; |
558 JNIEXPORT extern jfieldID path2DFloatCoordsID; |
558 extern jfieldID sg2dStrokeHintID; |
559 JNIEXPORT extern jfieldID sg2dStrokeHintID; |
559 extern jint sunHints_INTVAL_STROKE_PURE; |
560 JNIEXPORT extern jint sunHints_INTVAL_STROKE_PURE; |
560 |
561 |
561 /* |
562 /* |
562 * Macros for using jlong variables as 32bits.32bits fractional values |
563 * Macros for using jlong variables as 32bits.32bits fractional values |
563 */ |
564 */ |
564 #define LongOneHalf (((jlong) 1) << 31) |
565 #define LongOneHalf (((jlong) 1) << 31) |