Lines Matching defs:width

69         this.fBounds = new Rectangle(bounds.x, bounds.y, bounds.width, bounds.y + bounds.height);
119 return new Rectangle(fBounds.x, fBounds.y, fBounds.width, fBounds.height - fBounds.y);
369 void setUserBounds(SunGraphics2D sg2d, int x, int y, int width, int height) {
370 if ((lastUserX != x) || (lastUserY != y) || (lastUserW != width) || (lastUserH != height)) {
373 lastUserW = width;
378 this.fGraphicsStatesInt.put(kBoundsWidthIndex, width);
381 userBounds.setBounds(x, y, width, height);
590 WritableRaster raster = (WritableRaster) (context.getRaster(userBounds.x, userBounds.y, userBounds.width, userBounds.height));
751 setupGraphicsState(sg2d, primitiveType, sg2d.font, 0, 0, fBounds.width, fBounds.height); // deviceBounds into userBounds
907 setupGraphicsState(sg2d, kLine, sg2d.font, 0, 0, fBounds.width, fBounds.height);
911 public void doRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) {
912 // System.err.println("-- doRect x="+x+" y="+y+" w="+width+" h="+height+" isfill="+isfill+" paint="+sg2d.paint);
914 setupGraphicsState(sg2d, kRect, (int) x, (int) y, (int) width, (int) height);
916 setupGraphicsState(sg2d, kRect, sg2d.font, 0, 0, fBounds.width, fBounds.height);
918 renderer.doRect(this, x, y, width, height, isfill);
921 public void doRoundRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) {
924 setupGraphicsState(sg2d, kRoundRect, (int) x, (int) y, (int) width, (int) height);
926 setupGraphicsState(sg2d, kRoundRect, sg2d.font, 0, 0, fBounds.width, fBounds.height);
928 renderer.doRoundRect(this, x, y, width, height, arcW, arcH, isfill);
931 public void doOval(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) {
934 setupGraphicsState(sg2d, kOval, (int) x, (int) y, (int) width, (int) height);
936 setupGraphicsState(sg2d, kOval, sg2d.font, 0, 0, fBounds.width, fBounds.height);
938 renderer.doOval(this, x, y, width, height, isfill);
941 public void doArc(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type, boolean isfill) {
944 setupGraphicsState(sg2d, kArc, (int) x, (int) y, (int) width, (int) height);
946 setupGraphicsState(sg2d, kArc, sg2d.font, 0, 0, fBounds.width, fBounds.height);
949 renderer.doArc(this, x, y, width, height, startAngle, arcAngle, type, isfill);
977 setupGraphicsState(sg2d, kPolygon, sg2d.font, 0, 0, fBounds.width, fBounds.height);
990 setupGraphicsState(sg2d, kShape, bounds.x, bounds.y, bounds.width, bounds.height);
992 setupGraphicsState(sg2d, kShape, sg2d.font, 0, 0, fBounds.width, fBounds.height);
1018 setupGraphicsState(sg2d, kImage, sg2d.font, 0, 0, fBounds.width, fBounds.height);
1038 setupGraphicsState(sg2d, kString, sg2d.font, 0, 0, fBounds.width, fBounds.height);
1044 setupGraphicsState(sg2d, kGlyphs, gv.getFont(), 0, 0, fBounds.width, fBounds.height);
1050 setupGraphicsState(sg2d, kUnicodes, sg2d.font, 0, 0, fBounds.width, fBounds.height);
1069 long tx2 = tx1 + r1.width;
1074 long rx2 = rx1 + r2.width;
1111 if ((srcCopyAreaRect.width <= 0) || (srcCopyAreaRect.height <= 0)) {
1117 dstCopyAreaRect.setBounds(srcCopyAreaRect.x + dx, srcCopyAreaRect.y + dy, srcCopyAreaRect.width, srcCopyAreaRect.height);
1119 if ((dstCopyAreaRect.width <= 0) || (dstCopyAreaRect.height <= 0)) {
1126 w = dstCopyAreaRect.width;