90 import java.util.Map; |
90 import java.util.Map; |
91 import java.util.Iterator; |
91 import java.util.Iterator; |
92 import sun.java2d.DestSurfaceProvider; |
92 import sun.java2d.DestSurfaceProvider; |
93 import sun.misc.PerformanceLogger; |
93 import sun.misc.PerformanceLogger; |
94 |
94 |
|
95 import javax.tools.annotation.GenerateNativeHeader; |
|
96 |
95 /** |
97 /** |
96 * This is a the master Graphics2D superclass for all of the Sun |
98 * This is a the master Graphics2D superclass for all of the Sun |
97 * Graphics implementations. This class relies on subclasses to |
99 * Graphics implementations. This class relies on subclasses to |
98 * manage the various device information, but provides an overall |
100 * manage the various device information, but provides an overall |
99 * general framework for performing all of the requests in the |
101 * general framework for performing all of the requests in the |
100 * Graphics and Graphics2D APIs. |
102 * Graphics and Graphics2D APIs. |
101 * |
103 * |
102 * @author Jim Graham |
104 * @author Jim Graham |
103 */ |
105 */ |
|
106 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
107 @GenerateNativeHeader |
104 public final class SunGraphics2D |
108 public final class SunGraphics2D |
105 extends Graphics2D |
109 extends Graphics2D |
106 implements ConstrainableGraphics, Cloneable, DestSurfaceProvider |
110 implements ConstrainableGraphics, Cloneable, DestSurfaceProvider |
107 { |
111 { |
108 /* |
112 /* |