/openjdk7/jdk/src/share/classes/java/awt/print/ |
H A D | Printable.java | 39 * print the page's graphics. 122 * <code>graphics</code>. The format of the page to be drawn is 131 * @param graphics the context into which the page is drawn 140 int print(Graphics graphics, PageFormat pageFormat, int pageIndex) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphics.java | 33 * Graphics subclass supporting graphics debugging. Overrides most methods 50 Graphics graphics; field in class:DebugGraphics 58 /** Log graphics operations. */ 60 /** Flash graphics operations. */ 64 /** Don't debug graphics operations. */ 72 * Constructs a new debug graphics context that supports slowed 82 * Constructs a debug graphics context from an existing graphics 85 * @param graphics the Graphics context to slow down 88 public DebugGraphics(Graphics graphics, JComponen argument 99 DebugGraphics(Graphics graphics) argument [all...] |
H A D | TablePrintable.java | 199 * @param graphics the context into which the page is drawn 206 public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) argument 246 graphics.setFont(headerFont); 247 hRect = graphics.getFontMetrics().getStringBounds(headerText, 248 graphics); 257 graphics.setFont(footerFont); 258 fRect = graphics.getFontMetrics().getStringBounds(footerText, 259 graphics); 312 // create a copy of the graphics so we don't affect the one given to us 313 Graphics2D g2d = (Graphics2D)graphics [all...] |
/openjdk7/jdk/test/javax/swing/JButton/6604281/ |
H A D | bug6604281.java | 52 Graphics2D graphics = (Graphics2D) image.getGraphics(); 54 graphics.setColor(Color.BLUE); 55 graphics.fillRect(0, 0, image.getWidth(), image.getHeight()); 56 graphics.setColor(Color.RED); 57 graphics.drawLine(0, 0, image.getWidth(), image.getHeight());
|
/openjdk7/jdk/src/share/classes/sun/swing/text/ |
H A D | CompoundPrintable.java | 47 public int print(final Graphics graphics, argument 52 ret = printables.peek().print(graphics, pf, pageIndex - offset);
|
H A D | TextComponentPrintable.java | 455 public int print(final Graphics graphics, argument 459 if (graphics instanceof Graphics2D) { 460 frc.set(((Graphics2D)graphics).getFontRenderContext()); 469 return printOnEDT(graphics, pf, pageIndex); 492 ret = printOnEDT(graphics, pf, pageIndex); 504 private int printOnEDT(final Graphics graphics, argument 535 Graphics2D g2d = (Graphics2D)graphics.create();
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ProxyPrintGraphics.java | 34 * graphics calls are forwared to another Graphics instance 43 public ProxyPrintGraphics(Graphics graphics, PrintJob thePrintJob) { argument 44 super(graphics); 59 * @return a new graphics context that is a copy of 60 * this graphics context. 79 * @return a new graphics context.
|
H A D | PeekGraphics.java | 96 * graphics, no Java2D graphics. 102 * calls to 'graphics'. 'printerJob' is stored away 106 public PeekGraphics(Graphics2D graphics, PrinterJob printerJob) { argument 108 mGraphics = graphics; 124 public void setDelegate(Graphics2D graphics) { argument 125 mGraphics = graphics; 133 * The caller promises that only AWT graphics will be drawn. 135 * assumptions about the types of graphics to be drawn without 167 * @return a new graphics contex [all...] |
H A D | ProxyGraphics2D.java | 76 * The new ProxyGraphics2D will forward all graphics 77 * calls to 'graphics'. 79 public ProxyGraphics2D(Graphics2D graphics, PrinterJob printerJob) { argument 80 mGraphics = graphics; 96 public void setDelegate(Graphics2D graphics) { argument 97 mGraphics = graphics; 116 * @return a new graphics context that is a copy of 117 * this graphics context. 126 * Translates the origin of the graphics context to the point 128 * Modifies this graphics contex [all...] |
H A D | ProxyGraphics.java | 57 public ProxyGraphics(Graphics graphics) { argument 58 g = graphics; 68 * @return a new graphics context that is a copy of 69 * this graphics context. 83 * <code>Graphics</code> object. The new graphics context is 88 * The new graphics context is translated by (<i>x</i>, <i>y</i>). 90 * new graphics context is the same as (<i>x</i>, <i>y</i>) in 91 * the original graphics context. 93 * The new graphics context has an additional clipping rectangle, in 95 * from the original graphics contex [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | ShapeGraphicAttribute.java | 138 public void draw(Graphics2D graphics, float x, float y) { argument 140 // translating graphics to draw Shape !!! 141 graphics.translate((int)x, (int)y); 146 graphics.draw(fShape); 149 graphics.fill(fShape); 153 graphics.translate(-(int)x, -(int)y);
|
H A D | ImageGraphicAttribute.java | 162 public void draw(Graphics2D graphics, float x, float y) { argument 164 graphics.drawImage(fImage, (int) (x-fOriginX), (int) (y-fOriginY), null);
|
H A D | GraphicAttribute.java | 54 * replacement graphics. Clients wishing to embed shapes and images in 179 * @param graphics the {@link Graphics2D} into which to render the 184 public abstract void draw(Graphics2D graphics, float x, float y); argument
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterGraphics.java | 39 // based CPrinterSurfaceData. It can do "path graphics" because it 42 public CPrinterGraphics(Graphics2D graphics, PrinterJob printerJob) { argument 43 super(graphics, printerJob);
|
H A D | CPrinterJob.java | 575 private void printToPathGraphics( final PeekGraphics graphics, // Always an actual PeekGraphics argument 651 private Rectangle2D printAndGetPageFormatArea(final Printable printable, final Graphics graphics, final PageFormat pageFormat, final int pageIndex) { argument 656 int pageResult = printable.print(graphics, pageFormat, pageIndex);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/ |
H A D | TextRenderTests.java | 87 Graphics g = tctx.graphics; 103 Graphics g = tctx.graphics; 119 Graphics g = tctx.graphics;
|
H A D | TextTests.java | 356 // graphics transform (full set) 435 txoptgraphicsroot = new Group(txoptroot, "graphics", "Graphics"); 559 Graphics graphics; field in class:TextTests.TextContext 565 // graphics 566 graphics = env.getGraphics(); 594 // graphics 596 Graphics2D g2d = (Graphics2D)graphics; 616 graphics.dispose(); 617 graphics = null; 627 g2d = (Graphics2D)graphics; [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | RenderTests.java | 293 Graphics2D g2d = (Graphics2D) rctx.graphics; 310 rctx.graphics.setColor(c); 315 Graphics2D g2d = (Graphics2D)rctx.graphics; 319 Graphics2D g2d = (Graphics2D)rctx.graphics; 322 Graphics2D g2d = (Graphics2D)rctx.graphics; 325 Graphics2D g2d = (Graphics2D)rctx.graphics; 328 Graphics2D g2d = (Graphics2D)rctx.graphics; 331 Graphics2D g2d = (Graphics2D)rctx.graphics; 334 Graphics2D g2d = (Graphics2D)rctx.graphics; 411 Graphics g = rctx.graphics; [all...] |
H A D | MiscTests.java | 89 Graphics g = gctx.graphics;
|
H A D | GraphicsTests.java | 96 graphicsroot = new Group("graphics", "Graphics Benchmarks"); 231 Graphics graphics; field in class:GraphicsTests.Context 268 ctx.graphics = env.getGraphics(); 275 Graphics2D g2d = (Graphics2D) ctx.graphics; 331 Graphics graphics = ((Context) ctx).graphics; 332 graphics.dispose(); 333 ((Context) ctx).graphics = null;
|
H A D | ImageTests.java | 517 Graphics g = ictx.graphics; 568 Graphics g = ictx.graphics; 628 Graphics g = ictx.graphics; 687 Graphics2D g = (Graphics2D) ictx.graphics; 856 Graphics2D g2 = (Graphics2D)ictx.graphics;
|
/openjdk7/jdk/test/javax/print/ |
H A D | DialogMargins.java | 93 public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) { argument 99 Graphics2D g2d = (Graphics2D)graphics;
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | PrintingStatus.java | 269 public int print(final Graphics graphics, argument 274 printDelegatee.print(graphics, pageFormat, pageIndex);
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | FigureWidget.java | 186 Graphics graphics = this.getGraphics(); 187 if (graphics.getFontMetrics().stringWidth(cur) > figure.getWidth()) {
|
/openjdk7/jdk/test/java/awt/print/PrinterJob/ValidatePage/ |
H A D | ValidatePage.java | 252 public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) { argument 258 Graphics2D g2d = (Graphics2D)graphics;
|