Searched refs:Graphics2D (Results 1 - 25 of 246) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/javax/swing/
H A DPainter.java27 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 DTableScrollPaneCorner.java33 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 DLoweredBorder.java32 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 DToolBarSeparatorPainter.java30 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 DPeekMetrics.java31 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 DLCDTextAndGraphicsState.java39 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 DBoldSpace.java57 ((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 DTestTransform.java34 import java.awt.Graphics2D;
42 Graphics2D g2 = (Graphics2D) bi.getGraphics();
52 Graphics2D g2 = (Graphics2D) bi.getGraphics();
H A DTranslatedOutlineTest.java32 import java.awt.Graphics2D;
42 Graphics2D g2 = (Graphics2D) bi.getGraphics();
/openjdk7/jdk/src/share/classes/sun/font/
H A DTextLabel.java32 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 DTest7027667.java41 Graphics2D g2d = (Graphics2D) bImg.getGraphics();
H A DTest8004821.java24 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 DTestNPE.java41 Graphics2D g2d = (Graphics2D) g;
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/
H A DAccelTypedVolatileImage.java29 import java.awt.Graphics2D;
67 public Graphics2D createGraphics() {
/openjdk7/jdk/test/java/awt/FontClass/
H A DFontAccess.java44 Graphics2D g = bi.createGraphics();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/BatikSVGProxy/src/com/sun/hotspot/igv/svg/
H A DBatikSVG.java26 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 DVolatileImage.java30 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 DStrokeBorder.java30 import java.awt.Graphics2D;
110 if (g instanceof Graphics2D) {
111 Graphics2D g2d = (Graphics2D) g;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFocus.java44 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 DPrintAllXcheckJNI.java45 Graphics2D g = img.createGraphics();
/openjdk7/jdk/test/java/awt/GraphicsEnvironment/
H A DPreferLocaleFonts.java43 public Graphics2D createGraphics(BufferedImage image) {
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DMyCursor.java29 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 DMyCursor.java29 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 DMyCursor.java29 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 DFillTexturePaint.java26 import java.awt.Graphics2D;
48 Graphics2D gi = bi.createGraphics();
62 Graphics2D g2d = vi.createGraphics();

Completed in 569 milliseconds

12345678910