equal
deleted
inserted
replaced
31 import java.awt.MultipleGradientPaint.CycleMethod; |
31 import java.awt.MultipleGradientPaint.CycleMethod; |
32 import java.awt.TexturePaint; |
32 import java.awt.TexturePaint; |
33 import java.awt.image.BufferedImage; |
33 import java.awt.image.BufferedImage; |
34 import java.util.HashMap; |
34 import java.util.HashMap; |
35 import java.util.Map; |
35 import java.util.Map; |
|
36 import javax.tools.annotation.GenerateNativeHeader; |
36 import sun.java2d.SunGraphics2D; |
37 import sun.java2d.SunGraphics2D; |
37 import sun.java2d.SurfaceData; |
38 import sun.java2d.SurfaceData; |
38 import sun.java2d.loops.CompositeType; |
39 import sun.java2d.loops.CompositeType; |
39 import static sun.java2d.d3d.D3DContext.D3DContextCaps.*; |
40 import static sun.java2d.d3d.D3DContext.D3DContextCaps.*; |
40 |
41 |
155 } |
156 } |
156 } |
157 } |
157 |
158 |
158 /****************** Shared MultipleGradientPaint support ********************/ |
159 /****************** Shared MultipleGradientPaint support ********************/ |
159 |
160 |
|
161 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
162 @GenerateNativeHeader |
160 private static abstract class MultiGradient extends D3DPaints { |
163 private static abstract class MultiGradient extends D3DPaints { |
161 |
164 |
162 /** |
165 /** |
163 * Note that this number is lower than the MULTI_MAX_FRACTIONS |
166 * Note that this number is lower than the MULTI_MAX_FRACTIONS |
164 * defined in the superclass. The D3D pipeline now uses a |
167 * defined in the superclass. The D3D pipeline now uses a |