equal
deleted
inserted
replaced
28 import java.awt.color.ICC_Profile; |
28 import java.awt.color.ICC_Profile; |
29 import java.awt.geom.Rectangle2D; |
29 import java.awt.geom.Rectangle2D; |
30 import java.awt.Rectangle; |
30 import java.awt.Rectangle; |
31 import java.awt.RenderingHints; |
31 import java.awt.RenderingHints; |
32 import java.awt.geom.Point2D; |
32 import java.awt.geom.Point2D; |
|
33 import javax.tools.annotation.GenerateNativeHeader; |
33 import sun.awt.image.ImagingLib; |
34 import sun.awt.image.ImagingLib; |
34 |
35 |
35 /** |
36 /** |
36 * This class implements a convolution from the source |
37 * This class implements a convolution from the source |
37 * to the destination. |
38 * to the destination. |
63 * Note that the Source and the Destination may not be the same object. |
64 * Note that the Source and the Destination may not be the same object. |
64 * @see Kernel |
65 * @see Kernel |
65 * @see java.awt.RenderingHints#KEY_COLOR_RENDERING |
66 * @see java.awt.RenderingHints#KEY_COLOR_RENDERING |
66 * @see java.awt.RenderingHints#KEY_DITHERING |
67 * @see java.awt.RenderingHints#KEY_DITHERING |
67 */ |
68 */ |
|
69 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
70 @GenerateNativeHeader |
68 public class ConvolveOp implements BufferedImageOp, RasterOp { |
71 public class ConvolveOp implements BufferedImageOp, RasterOp { |
69 Kernel kernel; |
72 Kernel kernel; |
70 int edgeHint; |
73 int edgeHint; |
71 RenderingHints hints; |
74 RenderingHints hints; |
72 /** |
75 /** |