< prev index next >
src/java.desktop/share/native/libawt/java2d/loops/GraphicsPrimitiveMgr.h
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2013, 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
--- 1,7 ----
/*
! * Copyright (c) 2000, 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
*** 29,38 ****
--- 29,39 ----
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
+ #include "jni.h"
#include "java_awt_AlphaComposite.h"
#include "SurfaceData.h"
#include "SpanIterator.h"
*** 549,564 ****
Transform_transform(TransformInfo *pTxInfo, jdouble *pX, jdouble *pY);
void GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY,
jfloat *coords, jint maxCoords);
! extern jfieldID path2DTypesID;
! extern jfieldID path2DNumTypesID;
! extern jfieldID path2DWindingRuleID;
! extern jfieldID path2DFloatCoordsID;
! extern jfieldID sg2dStrokeHintID;
! extern jint sunHints_INTVAL_STROKE_PURE;
/*
* Macros for using jlong variables as 32bits.32bits fractional values
*/
#define LongOneHalf (((jlong) 1) << 31)
--- 550,565 ----
Transform_transform(TransformInfo *pTxInfo, jdouble *pX, jdouble *pY);
void GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY,
jfloat *coords, jint maxCoords);
! JNIEXPORT extern jfieldID path2DTypesID;
! JNIEXPORT extern jfieldID path2DNumTypesID;
! JNIEXPORT extern jfieldID path2DWindingRuleID;
! JNIEXPORT extern jfieldID path2DFloatCoordsID;
! JNIEXPORT extern jfieldID sg2dStrokeHintID;
! JNIEXPORT extern jint sunHints_INTVAL_STROKE_PURE;
/*
* Macros for using jlong variables as 32bits.32bits fractional values
*/
#define LongOneHalf (((jlong) 1) << 31)
< prev index next >