/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Painter.java | 27 import java.awt.Graphics2D; 51 * public void paint(Graphics2D g, Component c, int width, int height) { 65 * <p>Renders to the given {@link java.awt.Graphics2D} object. Implementations 66 * of this method <em>may</em> modify state on the <code>Graphics2D</code>, and are not 68 * that the caller pass in a scratch graphics object. The <code>Graphics2D</code> 101 * @param g The Graphics2D to render to. This must not be null. 106 public void paint(Graphics2D g, T object, int width, int height);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | TableScrollPaneCorner.java | 33 import java.awt.Graphics2D; 53 if (g instanceof Graphics2D){ 54 painter.paint((Graphics2D)g,this,getWidth()+1,getHeight()); 56 // paint using image to not Graphics2D to support 60 Graphics2D g2 = (Graphics2D)img.getGraphics();
|
H A D | LoweredBorder.java | 32 import java.awt.Graphics2D; 71 * clip from the Graphics2D object and only render within that space. 73 * @param g The Graphics2D surface to paint to 86 protected void doPaint(Graphics2D g, JComponent c, int width, int height, 94 Graphics2D g2 = (Graphics2D)img1.getGraphics(); 108 g2 = (Graphics2D)img2.getGraphics(); 179 if (g instanceof Graphics2D){ 180 Graphics2D g2 = (Graphics2D) [all...] |
H A D | ToolBarSeparatorPainter.java | 30 import java.awt.Graphics2D; 61 protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PeekMetrics.java | 31 import java.awt.Graphics2D; 92 public void fill(Graphics2D g) { 100 public void draw(Graphics2D g) { 108 public void clear(Graphics2D g) { 115 public void drawText(Graphics2D g) { 125 public void drawText(Graphics2D g, TextLayout textLayout) { 134 public void drawImage(Graphics2D g, Image image) { 142 public void drawImage(Graphics2D g, RenderedImage image) { 150 public void drawImage(Graphics2D g, RenderableImage image) { 158 private void checkDrawingMode(Graphics2D [all...] |
/openjdk7/jdk/test/java/awt/Graphics/ |
H A D | LCDTextAndGraphicsState.java | 39 Graphics2D g2d = (Graphics2D)g.create(); 49 Graphics2D g2d = (Graphics2D)g; 60 Graphics2D g2d = (Graphics2D)g; 71 Graphics2D g2d = (Graphics2D)g;
|
/openjdk7/jdk/test/java/awt/font/StyledMetrics/ |
H A D | BoldSpace.java | 57 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, 67 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, 69 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, 78 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, 80 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, 89 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, 91 ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
|
/openjdk7/jdk/test/java/awt/font/Rotate/ |
H A D | TestTransform.java | 34 import java.awt.Graphics2D; 42 Graphics2D g2 = (Graphics2D) bi.getGraphics(); 52 Graphics2D g2 = (Graphics2D) bi.getGraphics();
|
H A D | TranslatedOutlineTest.java | 32 import java.awt.Graphics2D; 42 Graphics2D g2 = (Graphics2D) bi.getGraphics();
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | TextLabel.java | 32 import java.awt.Graphics2D; 81 public abstract void draw(Graphics2D g, float x, float y); 121 public void draw(Graphics2D g) {
|
/openjdk7/jdk/test/sun/java2d/pipe/ |
H A D | Test7027667.java | 41 Graphics2D g2d = (Graphics2D) bImg.getGraphics();
|
H A D | Test8004821.java | 24 import java.awt.Graphics2D; 41 final Graphics2D g = (Graphics2D) bi.getGraphics(); 53 private static void test(final Graphics2D g, final int[] arr) {
|
/openjdk7/jdk/test/sun/java2d/pisces/Renderer/ |
H A D | TestNPE.java | 41 Graphics2D g2d = (Graphics2D) g;
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/ |
H A D | AccelTypedVolatileImage.java | 29 import java.awt.Graphics2D; 67 public Graphics2D createGraphics() {
|
/openjdk7/jdk/test/java/awt/FontClass/ |
H A D | FontAccess.java | 44 Graphics2D g = bi.createGraphics();
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/BatikSVGProxy/src/com/sun/hotspot/igv/svg/ |
H A D | BatikSVG.java | 26 import java.awt.Graphics2D; 45 public static Graphics2D createGraphicsObject() { 62 Graphics2D svgGenerator = (Graphics2D) SVGGraphics2DConstructor.newInstance(ctx, true); 77 public static void printToStream(Graphics2D svgGenerator, Writer stream, boolean useCSS) {
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | VolatileImage.java | 30 import java.awt.Graphics2D; 95 * Graphics2D g = vImg.createGraphics(); 225 * This method returns a {@link Graphics2D}, but is here 228 * <code>Graphics2D</code>. 229 * @return a <code>Graphics2D</code>, which can be used to draw into 237 * Creates a <code>Graphics2D</code>, which can be used to draw into 239 * @return a <code>Graphics2D</code>, used for drawing into this 242 public abstract Graphics2D createGraphics();
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | StrokeBorder.java | 30 import java.awt.Graphics2D; 110 if (g instanceof Graphics2D) { 111 Graphics2D g2d = (Graphics2D) g;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaFocus.java | 44 public void draw(final Graphics2D sg2d); 120 Graphics2D imgG = (Graphics2D)g; 130 ((Graphics2D)g).setComposite(AlphaComposite.SrcAtop);
|
/openjdk7/jdk/test/java/awt/Component/PrintAllXcheckJNI/ |
H A D | PrintAllXcheckJNI.java | 45 Graphics2D g = img.createGraphics();
|
/openjdk7/jdk/test/java/awt/GraphicsEnvironment/ |
H A D | PreferLocaleFonts.java | 43 public Graphics2D createGraphics(BufferedImage image) {
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/ |
H A D | MyCursor.java | 29 import java.awt.Graphics2D; 42 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 57 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 71 ((Graphics2D)gr).setStroke(new BasicStroke(3));
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/ |
H A D | MyCursor.java | 29 import java.awt.Graphics2D; 42 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 57 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 71 ((Graphics2D)gr).setStroke(new BasicStroke(3));
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/ |
H A D | MyCursor.java | 29 import java.awt.Graphics2D; 42 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 57 ((Graphics2D)gr).setStroke(new BasicStroke(3)); 71 ((Graphics2D)gr).setStroke(new BasicStroke(3));
|
/openjdk7/jdk/test/java/awt/Graphics2D/FillTexturePaint/ |
H A D | FillTexturePaint.java | 26 import java.awt.Graphics2D; 48 Graphics2D gi = bi.createGraphics(); 62 Graphics2D g2d = vi.createGraphics();
|