Searched refs:TexturePaint (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/test/java/awt/Graphics2D/FillTexturePaint/
H A DFillTexturePaint.java30 import java.awt.TexturePaint;
37 * @summary TexturePaint areas shouldn't separates.
42 private static TexturePaint shape;
51 shape = new TexturePaint(bi, new Rectangle(0, 0, 50, 50));
/openjdk7/jdk/src/share/classes/java/awt/
H A DTexturePaint.java34 * The <code>TexturePaint</code> class provides a way to fill a
38 * is copied by the <code>TexturePaint</code> object.
51 public class TexturePaint implements Paint { class in inherits:Paint
60 * Constructs a <code>TexturePaint</code> object.
66 public TexturePaint(BufferedImage txtr, method in class:TexturePaint
88 * size this <code>TexturePaint</code>.
142 * Returns the transparency mode for this <code>TexturePaint</code>.
143 * @return the transparency mode for this <code>TexturePaint</code>
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DPaints.java32 import java.awt.TexturePaint;
96 /************************** TexturePaint support ****************************/
102 * Returns true if the given TexturePaint instance can be used by the
105 * A TexturePaint is considered valid if the following conditions
113 TexturePaint paint = (TexturePaint)sg2d.paint;
138 // memory image from the TexturePaint instance into a
H A DD3DMaskFill.java50 new D3DMaskFill(TexturePaint, SrcOver),
/openjdk7/jdk/test/sun/java2d/DirectX/AccelPaintsTest/
H A DAccelPaintsTest.java48 import java.awt.TexturePaint;
80 TexturePaint tp =
81 new TexturePaint(bi, new Rectangle2D.Float(30, 30, 120, 130));
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLPaints.java34 import java.awt.TexturePaint;
94 /************************** TexturePaint support ****************************/
100 * Returns true if the given TexturePaint instance can be used by the
101 * accelerated OGLPaints.Texture implementation. A TexturePaint is
110 TexturePaint paint = (TexturePaint)sg2d.paint;
130 // memory image from the TexturePaint instance into an
H A DOGLMaskFill.java50 new OGLMaskFill(TexturePaint, SrcOver),
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRMaskFill.java40 import static sun.java2d.loops.SurfaceType.TexturePaint;
63 new XRMaskFill(TexturePaint, SrcOver, XRSurfaceData.IntRgbX11),
80 new XRMaskFill(TexturePaint, SrcOver, XRSurfaceData.IntArgbPreX11),
H A DXRPaints.java237 TexturePaint paint = (TexturePaint) sg2d.paint;
244 // memory image from the TexturePaint instance into an
257 TexturePaint paint = (TexturePaint) pt;
/openjdk7/jdk/test/sun/java2d/DirectX/TransformedPaintTest/
H A DTransformedPaintTest.java45 import java.awt.TexturePaint;
101 return new TexturePaint(bi, r);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedPaints.java36 import java.awt.TexturePaint;
73 (TexturePaint)paint, useMask);
112 * Instead of an anchor rectangle in the TexturePaint case, we use
212 /************************** TexturePaint support ****************************/
216 * map the TexturePaint image to the geometry being rendered. The
226 * that {u,v}=0 for the top-left of the TexturePaint's anchor
244 TexturePaint paint,
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DSurfaceType.java359 public static final SurfaceType TexturePaint = field in class:SurfaceType
362 TexturePaint.deriveSubType(DESC_OPAQUE_TEXTURE_PAINT);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXSurfaceData.java568 } else if (sg2d.paint instanceof TexturePaint) {
570 TexturePaint color = (TexturePaint) sg2d.paint;
804 if ((sg2d.paint instanceof Color) || (sg2d.paint instanceof SystemColor) || (sg2d.paint instanceof GradientPaint) || (sg2d.paint instanceof TexturePaint)) { return false; }
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DRenderTests.java57 import java.awt.TexturePaint;
135 paintDescs.add("20x20 TexturePaint");
137 paintDescs.add("32x32 TexturePaint");
376 private TexturePaint makeTexturePaint(int size, boolean alpha) {
394 return new TexturePaint(img, bounds);
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSurfaceData.java810 return SurfaceType.TexturePaint;
H A DSunGraphics2D.java54 import java.awt.TexturePaint;
959 * @see TexturePaint
989 } else if (paintClass == TexturePaint.class) {

Completed in 296 milliseconds