Searched refs:g2d (Results 76 - 87 of 87) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsIconFactory.java627 Graphics2D g2d = (Graphics2D)g.create();
628 g2d.translate(x + skin.getWidth(), y);
629 g2d.scale(-1, 1);
630 skin.paintSkin(g2d, 0, 0, state);
631 g2d.dispose();
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaImageFactory.java354 final Graphics2D g2d = slice.createGraphics();
355 g2d.drawImage(img, 0, 0, w, h, x, y, x + w, y + h, null);
356 g2d.dispose();
H A DAquaButtonUI.java403 final Graphics2D g2d = g instanceof Graphics2D ? (Graphics2D)g : null;
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDataTransferer.java364 Graphics2D g2d = bimage.createGraphics();
367 g2d.drawImage(image, imageFlipTransform, null);
369 g2d.dispose();
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DUtilities.java894 Graphics2D g2d = (Graphics2D)g;
904 getJComponent(view), g2d,aci,x,y);
912 Graphics2D g2d = (Graphics2D) g;
947 g2d,aci,x,y);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DPlotter.java615 Graphics2D g2d = (Graphics2D)g;
618 oldStroke = g2d.getStroke();
619 g2d.setStroke(seq.transitionStroke);
623 g2d.setStroke(oldStroke);
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLine.java396 Graphics2D g2d = im.createGraphics();
397 g2d.setColor(Color.WHITE);
398 g2d.fillRect(0, 0, im.getWidth(), im.getHeight());
400 g2d.setColor(Color.BLACK);
401 draw(g2d, rx + MARGIN - bounds.x, ry + MARGIN - bounds.y);
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DTitledBorder.java320 Graphics2D g2d = (Graphics2D) g2;
326 g2d.clip(path);
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFontPanel.java765 private void calcFontMetrics( Graphics2D g2d, int w, int h ) { argument
767 Graphics2D g2 = (Graphics2D)g2d.create();
1379 Graphics2D g2d =
1382 g2d.getRenderingHint(RenderingHints.KEY_TEXT_LCD_CONTRAST);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJViewport.java1592 Graphics2D g2d = (Graphics2D) g;
1593 oldComposite = g2d.getComposite();
1594 g2d.setComposite(AlphaComposite.Src);
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletViewer.java775 Graphics2D g2d = (Graphics2D)graphics;
776 g2d.translate(pf.getImageableX(), pf.getImageableY());
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java890 Graphics2D g2d = (Graphics2D)g;
891 Stroke stroke = g2d.getStroke();
892 g2d.setStroke(new BasicStroke((float)lineWidth));
893 g2d.drawLine(x1, y1, x2, y2);
894 g2d.setStroke(stroke);

Completed in 90 milliseconds

1234