equal
deleted
inserted
replaced
35 import sun.awt.image.*; |
35 import sun.awt.image.*; |
36 import sun.java2d.loops.*; |
36 import sun.java2d.loops.*; |
37 import sun.java2d.pipe.*; |
37 import sun.java2d.pipe.*; |
38 import sun.lwawt.macosx.*; |
38 import sun.lwawt.macosx.*; |
39 |
39 |
|
40 import javax.tools.annotation.GenerateNativeHeader; |
|
41 |
40 /* |
42 /* |
41 * This is the SurfaceData for a CGContextRef. |
43 * This is the SurfaceData for a CGContextRef. |
42 */ |
44 */ |
|
45 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
46 @GenerateNativeHeader |
43 public abstract class OSXSurfaceData extends BufImgSurfaceData { |
47 public abstract class OSXSurfaceData extends BufImgSurfaceData { |
44 final static float UPPER_BND = Float.MAX_VALUE / 2.0f; |
48 final static float UPPER_BND = Float.MAX_VALUE / 2.0f; |
45 final static float LOWER_BND = -UPPER_BND; |
49 final static float LOWER_BND = -UPPER_BND; |
46 |
50 |
47 protected static CRenderer sQuartzPipe = null; |
51 protected static CRenderer sQuartzPipe = null; |