/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/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 | PSPathGraphics.java | 56 * by breaking all graphics into fills and 68 PSPathGraphics(Graphics2D graphics, PrinterJob printerJob, argument 71 super(graphics, printerJob, painter, pageFormat, pageIndex, canRedraw); 77 * @return a new graphics context that is a copy of 78 * this graphics context. 103 * graphics context's current font and color. The baseline of the 105 * graphics context's coordinate system. 416 * saved graphics state. 518 * image transform and current graphics transform). 520 * save the current graphics transfor [all...] |
H A D | PrintJob2D.java | 79 * the underlying PrinterJob graphics conversions. 749 * The page is sent to the printer when the graphics 750 * object is disposed. This graphics object will also implement 762 // One way to detect this is if any of the graphics queue 780 * a graphics then we need to put that graphics into 789 /* We'll block here until a new graphics becomes 891 * graphics to the to-be-drawn queue 933 * <code>graphics</code>. The format of the page to be drawn is 942 * @param graphics th 951 print(Graphics graphics, PageFormat pageFormat, int pageIndex) argument [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...] |
H A D | PathGraphics.java | 94 protected PathGraphics(Graphics2D graphics, PrinterJob printerJob, argument 97 super(graphics, printerJob); 140 * Redraw a rectanglular area using a proxy graphics 152 * in this graphics context's coordinate system. 182 * The rectangle is drawn using the graphics context's current color. 219 * The rectangle is filled using the graphics context's current color. 271 * Draws an outlined round-cornered rectangle using this graphics 545 * the graphics context's current color. 559 * graphics context's current font and color. The baseline of the 561 * graphics contex [all...] |
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...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
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
|
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 | 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);
|
/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/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/javax/swing/ |
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...] |
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...] |
/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/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;
|
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | DefaultSynthStyle.java | 270 * @param graphics SynthGraphics 272 public void setGraphicsUtils(SynthGraphicsUtils graphics) { argument 273 this.synthGraphics = graphics;
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
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;
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPathGraphics.java | 112 WPathGraphics(Graphics2D graphics, PrinterJob printerJob, argument 115 super(graphics, printerJob, painter, pageFormat, pageIndex, canRedraw); 121 * @return a new graphics context that is a copy of 122 * this graphics context. 138 * graphics state. The rendering attributes applied include the 248 * graphics context's current font and color. The baseline of the 250 * graphics context's coordinate system. 438 /* Use GDI for the text if the graphics transform is something 440 * A flip or shearing transform on the graphics or a transform 579 /* Use GDI for the text if the graphics transfor [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/ |
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/classes/javax/swing/plaf/synth/ |
H A D | SynthTreeUI.java | 613 protected void drawCentered(Component c, Graphics graphics, Icon icon, argument 618 SynthIcon.paintIcon(icon, paintContext, graphics,
|
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletViewer.java | 771 public int print(Graphics graphics, PageFormat pf, int pageIndex) { argument 775 Graphics2D g2d = (Graphics2D)graphics; 777 panel.applet.printAll(graphics);
|