/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Dimension.java | 33 * height of a component (in integer precision) in a single object. 41 * and <code>height</code> are non-negative integers. 44 * If the value of <code>width</code> or <code>height</code> is 67 * The height dimension; negative values can be used. 74 public int height; field in class:Dimension 96 * of zero and a height of zero. 104 * and height are the same as for the specified dimension. 108 * <code>height</code> values 111 this(d.width, d.height); 116 * it to the specified width and specified height 121 Dimension(int width, int height) argument 153 setSize(double width, double height) argument 199 setSize(int width, int height) argument [all...] |
H A D | GridBagLayoutInfo.java | 43 int width, height; /* number of cells: horizontal and vertical */ field in class:GridBagLayoutInfo 58 int maxDescent[]; /* Max descent (height - baseline) */ 64 * @param height the rows 67 GridBagLayoutInfo(int width, int height) { argument 69 this.height = height;
|
H A D | Graphics.java | 151 * is specified by the <code>width</code> and <code>height</code> 158 * @param height the height of the clipping rectangle. 163 public Graphics create(int x, int y, int width, int height) { argument 167 g.clipRect(0, 0, width, height); 305 * @param height the height of the rectangle to intersect the clip with 309 public abstract void clipRect(int x, int y, int width, int height); argument 320 * @param height the height o 326 setClip(int x, int y, int width, int height) argument 383 copyArea(int x, int y, int width, int height, int dx, int dy) argument 416 fillRect(int x, int y, int width, int height) argument 434 drawRect(int x, int y, int width, int height) argument 468 clearRect(int x, int y, int width, int height) argument 486 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument 505 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument 527 draw3DRect(int x, int y, int width, int height, boolean raised) argument 557 fill3DRect(int x, int y, int width, int height, boolean raised) argument 593 drawOval(int x, int y, int width, int height) argument 606 fillOval(int x, int y, int width, int height) argument 645 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument 684 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument 921 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument 1008 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument 1214 hitClip(int x, int y, int width, int height) argument [all...] |
H A D | GraphicsConfiguration.java | 143 * @param height the height of the returned <code>BufferedImage</code> 147 public BufferedImage createCompatibleImage(int width, int height) { argument 150 model.createCompatibleWritableRaster(width, height); 164 * @param height the height of the returned <code>BufferedImage</code> 174 public BufferedImage createCompatibleImage(int width, int height, argument 178 return createCompatibleImage(width, height); 186 WritableRaster wr = cm.createCompatibleWritableRaster(width, height); 199 * @param height th 205 createCompatibleVolatileImage(int width, int height) argument 236 createCompatibleVolatileImage(int width, int height, int transparency) argument 270 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps) argument 304 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | DimensionUIResource.java | 53 public DimensionUIResource(int width, int height) { argument 54 super(width, height);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_BitmapUtil.h | 39 static HBITMAP CreateTransparencyMaskFromARGB(int width, int height, int* imageData); 46 static HBITMAP CreateV4BitmapFromARGB(int width, int height, int* imageData); 52 static HBITMAP CreateBitmapFromARGBPre(int width, int height, 73 static HBITMAP CreateARGBBitmap(int width, int height, void ** bitmapBitsPtr);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | Kernel.java | 41 private int height; field in class:Kernel 54 * The first <code>width</code>*<code>height</code> elements of 57 * than width*height, an <code>IllegalArgumentException</code> is thrown. 58 * The X origin is (width-1)/2 and the Y origin is (height-1)/2. 60 * @param height height of the kernel 64 * <code>height</code> 66 public Kernel(int width, int height, float data[]) { argument 68 this.height = height; [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | SoftBevelBorder.java | 99 * @param height the height of the painted border 101 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 108 g.drawLine(0, 0, 0, height-2); 113 g.drawLine(1, 2, 1, height-2); 115 g.drawLine(0, height-1, 0, height-2); 119 g.drawLine(2, height-1, width-1, height-1); 120 g.drawLine(width-1, 2, width-1, height [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollButton.java | 85 int height = getHeight(); 87 int h = height; 88 int arrowHeight = (height+1) / 4; 89 int arrowWidth = (height+1) / 2; 100 g.fillRect( 0, 0, width, height ); 105 height +=1; 132 g.drawLine( 1, 1, 1, height - 1 ); 135 g.drawLine( width - 1, 1, width - 1, height - 1 ); 139 g.drawLine( 0, 0, 0, height - 1 ); 140 g.drawLine( width - 2, 2, width - 2, height [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | CustomCursor.java | 55 int height = cursor.getHeight(c); 62 if (tracker.isErrorAny() || width < 0 || height < 0) { 67 Dimension nativeSize = toolkit.getBestCursorSize(width, height); 68 if (nativeSize.width != width || nativeSize.height != height) { 70 nativeSize.height, 73 height = nativeSize.height; 77 if (hotSpot.x >= width || hotSpot.y >= height || hotSpot.x < 0 || hotSpot.y < 0) { 88 int[] pixels = new int[width * height]; 100 createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaMenuBarBorder.java | 45 * @param height the height of the painted border 47 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 50 //paintButton(c, g, x, y, width, height); 52 g.drawLine(x, y + height - 1, x + width, y + height - 1);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Painter.java | 51 * public void paint(Graphics2D g, Component c, int width, int height) { 86 * <p>Finally, the <code>width</code> and <code>height</code> arguments specify the 87 * width and height that the <code>Painter</code> should paint into. More 88 * specifically, the specified width and height instruct the painter that it should 89 * paint fully within this width and height. Any specified clip on the 104 * @param height height of the area to paint. 106 public void paint(Graphics2D g, T object, int width, int height); argument
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | PrinterSurfaceData.h | 35 jint height; member in struct:_PrintSDOps
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | GlyphImageRef.h | 45 int height; member in struct:__anon914
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | PixelFillPipe.java | 44 int x, int y, int width, int height); 48 int x, int y, int width, int height, 52 int x, int y, int width, int height); 55 int x, int y, int width, int height, 43 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument 47 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 51 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument 54 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XHorizontalScrollbar.java | 40 public void setSize(int width, int height) { argument 41 super.setSize(width, height); 42 this.barWidth = height; 58 return new Rectangle(getArrowAreaWidth(), 2, width - 2*getArrowAreaWidth(), height-4);
|
H A D | XVerticalScrollbar.java | 38 public void setSize(int width, int height) { argument 39 super.setSize(width, height); 41 this.barLength = height; 57 return new Rectangle(2, getArrowAreaWidth(), width-4, height - 2*getArrowAreaWidth());
|
/openjdk7/jdk/test/java/awt/Graphics2D/FlipDrawImage/ |
H A D | FlipDrawImage.java | 41 private static final int height = 400; field in class:FlipDrawImage 48 VolatileImage vi = gc.createCompatibleVolatileImage(width, height); 49 final BufferedImage bi = new BufferedImage(width, height, 55 g2d.fillRect(0, 0, width, height); 57 g2d.fillRect(0, 0, width / 2, height / 2); 71 g.fillRect(0, 0, width, height); 72 // destination width and height are flipped and scale is used. 73 g.drawImage(vi, width / 2, height / 2, -width / 2, -height / 2, 86 for (int y = 0; y < height; [all...] |
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/ |
H A D | MyCursor.java | 44 gr.translate(width/2, height/2); 59 gr.drawLine(0, 0, width, height); 61 gr.drawLine(0, 0, 0, height/2); 73 gr.drawLine(0, 0, width/2, height/2); 75 gr.drawLine(0, 0, 0, height/2); 77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1); 78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height); 79 gr.drawLine(width/2 - 1, height* [all...] |
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/ |
H A D | MyCursor.java | 44 gr.translate(width/2, height/2); 59 gr.drawLine(0, 0, width, height); 61 gr.drawLine(0, 0, 0, height/2); 73 gr.drawLine(0, 0, width/2, height/2); 75 gr.drawLine(0, 0, 0, height/2); 77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1); 78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height); 79 gr.drawLine(width/2 - 1, height* [all...] |
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/ |
H A D | MyCursor.java | 44 gr.translate(width/2, height/2); 59 gr.drawLine(0, 0, width, height); 61 gr.drawLine(0, 0, 0, height/2); 73 gr.drawLine(0, 0, width/2, height/2); 75 gr.drawLine(0, 0, 0, height/2); 77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1); 78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height); 79 gr.drawLine(width/2 - 1, height* [all...] |
/openjdk7/jdk/test/java/awt/image/DrawImage/ |
H A D | IncorrectOffset.java | 41 private static final int height = 400; field in class:IncorrectOffset 48 VolatileImage vi = gc.createCompatibleVolatileImage(width, height); 49 BufferedImage bi = new BufferedImage(width / 4, height / 4, 55 g2d.fillRect(0, 0, width, height); 57 g2d.fillRect(width / 4, height / 4, width / 2, height / 2); 71 g.drawImage(vi, 0, 0, width / 4, height / 4, width / 4, height / 4, 72 width / 4 + width / 2, height / 4 + height / [all...] |
H A D | IncorrectBounds.java | 43 private static final int height = 400; field in class:IncorrectBounds 51 height / 4); 52 final BufferedImage bi = new BufferedImage(width, height, 58 g2d.fillRect(0, 0, width / 4, height / 4); 72 g.fillRect(0, 0, width, height); 74 g.drawImage(vi, 0, 0, width / 2, height / 2, 0, 0, width * 2, 75 height * 2, null); 87 for (int y = 0; y < height; ++y) { 88 if (x < width / 16 && y < height / 16) {
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ui/ |
H A D | CompactLayout.java | 110 if (d.height < p.height) { 111 d.height = p.height; 117 d.height += p.height; 121 d.height += (insets.top + insets.bottom); 137 size.height -= (insets.top + insets.bottom); 145 y = (insets.top - pref.height) / 2; 150 pref.height [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ProxyGraphics.java | 97 * is specified by the <code>width</code> and <code>height</code> 104 * @param height the height of the clipping rectangle. 109 public Graphics create(int x, int y, int width, int height) { argument 110 return new ProxyGraphics(g.create(x, y, width, height)); 265 * @param height the height of the rectangle to intersect the clip with 269 public void clipRect(int x, int y, int width, int height) { argument 270 g.clipRect(x, y, width, height); 282 * @param height th 287 setClip(int x, int y, int width, int height) argument 350 copyArea(int x, int y, int width, int height, int dx, int dy) argument 387 fillRect(int x, int y, int width, int height) argument 407 drawRect(int x, int y, int width, int height) argument 430 clearRect(int x, int y, int width, int height) argument 450 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument 471 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument 495 draw3DRect(int x, int y, int width, int height, boolean raised) argument 515 fill3DRect(int x, int y, int width, int height, boolean raised) argument 537 drawOval(int x, int y, int width, int height) argument 552 fillOval(int x, int y, int width, int height) argument 593 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument 634 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument 858 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument 938 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument 1134 hitClip(int x, int y, int width, int height) argument [all...] |