Searched refs:canvas (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/test/java/awt/PrintJob/QuoteAndBackslashTest/
H A DQuoteAndBackslashTest.java46 PrintCanvas canvas; field in class:QuoteAndBackslashTestFrame
50 canvas = new PrintCanvas ();
51 add("Center", canvas);
72 canvas.printAll(pg);
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphImages.m46 * the canvas is cleared for the next glyph.
48 * If the necessary canvas is too large, the shared one will not be used and a
66 * They will print out a full UInt8 canvas and any pixels struck (assuming
67 * the canvas is not too big).
69 * As another debug feature, the entire canvas will be filled with a light
214 CGGI_CopyImageFromCanvasToRGBInfo(CGGI_GlyphCanvas *canvas, GlyphInfo *info)
216 UInt32 *src = (UInt32 *)canvas->image->data;
217 size_t srcRowWidth = canvas->image->width;
243 //(CGGI_GlyphCanvas *canvas, GlyphInfo *info)
258 // vImageConvert_ARGB8888toPlanar8(canvas
[all...]
/openjdk7/jdk/test/java/awt/PrintJob/PrintArcTest/
H A DPrintArcTest.java35 PrintCanvas canvas; field in class:PrintArcTest
39 canvas = new PrintCanvas ();
40 add("North", canvas);
58 canvas.printAll(pg);
/openjdk7/jdk/test/java/awt/PrintJob/RoundedRectTest/
H A DRoundedRectTest.java44 PrintCanvas canvas; field in class:RoundedRectTestFrame
48 canvas = new PrintCanvas ();
49 add("Center", canvas);
70 canvas.printAll(pg);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Canvas.cpp36 jobject canvas; member in struct:SetEraseBackgroundStruct
66 AwtCanvas *canvas = NULL; local
83 canvas = new AwtCanvas();
91 canvas->CreateHWnd(env, L"",
119 HDC hdc = ::GetDC(canvas->m_hwnd);
123 ::ReleaseDC(canvas->m_hwnd, hdc);
135 return canvas;
149 return canvas;
190 jobject canvas = sebs->canvas; local
[all...]
/openjdk7/jdk/src/share/demo/applets/ArcTest/
H A DArcTest.java56 ArcCanvas canvas; // The drawing area to display arcs field in class:ArcTest
61 canvas = new ArcCanvas();
62 add("Center", canvas);
63 add("South", controls = new ArcControls(canvas));
69 remove(canvas);
167 ArcCanvas canvas; field in class:ArcControls
170 public ArcControls(ArcCanvas canvas) { argument
173 this.canvas = canvas;
200 canvas
[all...]
/openjdk7/jdk/test/java/awt/List/SetBackgroundTest/
H A DSetBackgroundTest.java70 Canvas canvas = new Canvas();
71 canvas.setBackground(color);
72 frame.add(canvas, BorderLayout.CENTER);
76 Point loc = canvas.getLocationOnScreen();
77 Color robotColor = robot.getPixelColor(loc.x + canvas.getWidth()/2, loc.y + canvas.getHeight()/2);
84 frame.remove(canvas);
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DPainterGenerator.java123 Canvas canvas = state.getCanvas();
125 generate(state, canvas, type);
128 Canvas canvas = state.getCanvas();
129 generate(state, canvas, "Foreground");
132 Canvas canvas = state.getCanvas();
133 generate(state, canvas, "Border");
172 private void generate(UIState state, Canvas canvas, String type) { argument
181 if (canvas.isBlank()) {
189 Insets in = canvas.getStretchingInsets();
191 float b = canvas
[all...]
H A DUIStyle.java292 Canvas canvas = state.getCanvas();
293 if (!canvas.isBlank()) {
295 size = canvas.getSize();
340 @XmlElement private Canvas canvas; field in class:UIState
341 public Canvas getCanvas() { return canvas; }
347 return ! canvas.isBlank();
386 fileNamePrefix, stateConstant, canvas.getStretchingInsets().write(false),
387 canvas.getSize().write(false), inverted, cacheModeString,
/openjdk7/jdk/src/share/demo/applets/DitherTest/
H A DDitherTest.java80 private DitherCanvas canvas; field in class:DitherTest
122 add("Center", canvas = new DitherCanvas());
180 int width = canvas.getSize().width;
181 int height = canvas.getSize().height;
259 canvas.setImage(null); // Wipe previous image
262 canvas.setImage(img);
275 remove(canvas);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTrayIconPeer.java49 TrayIconCanvas canvas; field in class:XTrayIconPeer
78 canvas = new TrayIconCanvas(target, TRAY_ICON_WIDTH, TRAY_ICON_HEIGHT);
83 eframe.add(canvas);
312 canvas.updateImage(target.getImage());
400 canvas.addMouseListener(eventProxy);
401 canvas.addMouseMotionListener(eventProxy);
513 // Classes for painting an image on canvas
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java58 Various metrics used for decoding x/y values based on the canvas size
62 From the context we get the canvas size and stretching insets, and whether
179 * points at runtime, such as the stretching insets, the canvas size at which the
183 * with possibly different canvas sizes, etc, into one AbstractRegionPainter implementation.</p>
517 * @param canvasSize The size of the canvas used when encoding the various x/y values. May be null.
530 * @param canvasSize The size of the canvas used when encoding the various x/y values. May be null.
536 * For example, if maxH is 2, then we will attempt to scale any cached images up to 2x the canvas
540 * For example, if maxV is 2, then we will attempt to scale any cached images up to 2x the canvas
625 Dimension canvas = ctx.canvasSize;
628 if (w <= (canvas
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/
H A DInputImageTests.java296 private static final Component canvas = new Component() {}; field in class:InputImageTests.ToolkitCreateImage
323 final MediaTracker mt = new MediaTracker(canvas);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWToolkit.java402 public void disableBackgroundErase(Canvas canvas) { argument
403 WCanvasPeer peer = (WCanvasPeer)canvas.getPeer();
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java682 * Disables erasing of background on the canvas before painting if
688 public void disableBackgroundErase(Canvas canvas) { argument
689 disableBackgroundEraseImpl(canvas);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.c54 #include "canvas.h"
1561 Widget canvas = findTopLevelByShell(shell); local
1562 if (canvas != NULL) {
1563 jobject peer = findPeer(&canvas);

Completed in 94 milliseconds