Searched refs:gfx (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusIcon.java91 Graphics2D gfx = (Graphics2D)g;
92 gfx.translate(x, y);
93 gfx.translate(translatex, translatey);
95 gfx.rotate(Math.toRadians(90));
96 gfx.translate(0, -w);
97 painter.paint(gfx, context.getComponent(), h, w);
98 gfx.translate(0, w);
99 gfx.rotate(Math.toRadians(-90));
101 gfx.scale(-1, 1);
102 gfx
[all...]
H A DNimbusLookAndFeel.java364 Graphics2D gfx = img.createGraphics();
365 si.paintIcon(component, gfx, 0, 0);
366 gfx.dispose();
H A DSynthPainterImpl.java56 Graphics2D gfx = (Graphics2D)g;
58 gfx.transform(transform);
60 gfx.translate(x, y);
61 p.paint(gfx, ctx.getComponent(), w, h);
62 gfx.translate(-x, -y);
65 gfx.transform(transform.createInverse());
78 Graphics2D gfx = img.createGraphics();
80 gfx.transform(transform);
82 p.paint(gfx, ctx.getComponent(), w, h);
83 gfx
[all...]
H A DDefaults.template839 Graphics2D gfx = img.createGraphics();
840 painter.paint(gfx, c, w, h);
841 gfx.dispose();
/openjdk7/jdk/src/share/classes/java/beans/
H A DPropertyEditor.java101 * @param gfx Graphics object to paint into.
104 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box); argument
H A DPropertyEditorSupport.java129 * @param gfx Graphics object to paint into.
132 public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box) { argument
/openjdk7/jdk/src/share/classes/com/sun/beans/editors/
H A DColorEditor.java158 public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box) { argument
159 Color oldColor = gfx.getColor();
160 gfx.setColor(Color.black);
161 gfx.drawRect(box.x, box.y, box.width-3, box.height-3);
162 gfx.setColor(color);
163 gfx.fillRect(box.x+1, box.y+1, box.width-4, box.height-4);
164 gfx.setColor(oldColor);
H A DFontEditor.java146 public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box) { argument
148 Font oldFont = gfx.getFont();
149 gfx.setFont(font);
150 FontMetrics fm = gfx.getFontMetrics();
152 gfx.drawString(sampleText, 0, box.height-vpad);
153 gfx.setFont(oldFont);
H A DEnumEditor.java121 public void paintValue( Graphics gfx, Rectangle box ) { argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsProgressBarUI.java338 Graphics2D gfx = (Graphics2D)g.create();
372 gfx.clip(repaintArea);
378 gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.8f));
379 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null);
381 gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f));
382 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null);
384 gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.2f));
385 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null);
388 gfx.dispose();

Completed in 42 milliseconds