/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | png.c | 831 png_uint_32 width, png_uint_32 height, int bit_depth, 837 /* Check for width and height valid values */ 838 if (width == 0) 840 png_warning(png_ptr, "Image width is zero in IHDR"); 851 if (width > png_ptr->user_width_max) 854 if (width > PNG_USER_WIDTH_MAX) 857 png_warning(png_ptr, "Image width exceeds user limit in IHDR"); 871 if (width > PNG_UINT_31_MAX) 873 png_warning(png_ptr, "Invalid image width in IHDR"); 883 if (width > (PNG_UINT_32_MA 830 png_check_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument [all...] |
H A D | pngrutil.c | 557 png_uint_32 width, height; local 575 width = png_get_uint_31(png_ptr, buf); 584 png_ptr->width = width; 619 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); 623 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, 2023 /* Need unit type, width, \0, height: minimum 4 bytes */ 2071 png_warning(png_ptr, "Invalid sCAL chunk ignored: bad width format"); 2074 png_warning(png_ptr, "Invalid sCAL chunk ignored: non-positive width"); 2720 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width)) [all...] |
H A D | pngtest.c | 221 * png_uint_32 width width of row 236 for (n = 0, nstop=row_info->width; n<nstop; n++) 293 for (n = 0, nstop=row_info->width; n<nstop; n++) 728 * 1: vpAg width 807 png_uint_32 width, height; local 1007 if (png_get_IHDR(read_ptr, read_info_ptr, &width, &height, &bit_depth, 1010 png_set_IHDR(write_ptr, write_info_ptr, width, height, bit_depth, 1445 fprintf(STDERR, "\n Image width = %lu, height = %lu\n",
|
H A D | pngwutil.c | 679 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, argument 806 png_ptr->width = width; 810 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); 812 png_ptr->usr_width = png_ptr->width; 817 png_save_uint_32(buf, width); 994 png_ptr->height < 16384 && png_ptr->width < 16384) 1005 ((png_ptr->width * 1948 png_write_sCAL_s(png_structp png_ptr, int unit, png_const_charp width, argument 1957 wlen = png_strlen(width); [all...] |
H A D | png.h | 832 png_uint_32 width; /* width of row */ member in struct:png_row_info_struct 2004 /* Returns image width in pixels. */ 2131 png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, 2136 png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, 2281 int *unit, double *width, double *height)); 2290 png_fixed_point *width, 2299 int unit, double width, double height)); 2301 png_infop info_ptr, int unit, png_fixed_point width, 2471 * pass of an image given its height or width [all...] |
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | awt_ImagingLib.c | 278 /* Kernel has even width */ 519 /* Kernel has even width */ 860 fprintf(stderr,"Width : %d\n",src->width); 868 fprintf(stderr,"Width : %d\n",dst->width); 1066 fprintf(stderr,"Width : %d\n",src->width); 1074 fprintf(stderr,"Width : %d\n",dst->width); 1180 if (src->width != dst->width || src->height != dst->height) { 1186 int npix = src->width; 1192 for (x=0; status && x < width; 1780 int width; local 2139 int width; local 2303 int width; local 2849 int width = rasterP->width; local [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | freetypeScaler.c | 600 int width, int height) { 603 int wholeByteCount = width >> 3; 604 int remainingBitsCount = width & 7; 635 void* dstImage, int dstRowBytes, int width, int height) { 648 for (i = 0; i < width; i++) { 660 int width, int height) { 665 memcpy(dstRow, srcRow, width); 675 int width, int height) { 683 for (i = 0; i < width; i++) { 707 UInt16 width, heigh local 598 CopyBW2Grey8(const void* srcImage, int srcRowBytes, void* dstImage, int dstRowBytes, int width, int height) argument 634 CopyGrey4ToGrey8(const void* srcImage, int srcRowBytes, void* dstImage, int dstRowBytes, int width, int height) argument 658 CopyFTSubpixelToSubpixel(const void* srcImage, int srcRowBytes, void* dstImage, int dstRowBytes, int width, int height) argument 673 CopyFTSubpixelVToSubpixel(const void* srcImage, int srcRowBytes, void* dstImage, int dstRowBytes, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | FilePane.java | 881 Integer width = dataItem.getWidth(); 882 if (width != null) { 883 column.setPreferredWidth(width); 884 // otherwise we let JTable to decide the actual width 1039 public void setBounds(int x, int y, int width, int height) { argument 1042 // Restrict width to actual text 1043 width = Math.min(width, this.getPreferredSize().width+4); 1047 super.setBounds(x, y, width, heigh [all...] |
H A D | MenuItemLayoutHelper.java | 171 iconSize.origWidth = iconSize.width; 172 textSize.origWidth = textSize.width; 173 accSize.origWidth = accSize.width; 174 checkSize.origWidth = checkSize.width; 175 arrowSize.origWidth = arrowSize.width; 253 iconSize.width = icon.getIconWidth(); 259 accSize.width = SwingUtilities2.stringWidth(mi, accFm, accText); 269 textSize.width = 275 textSize.width = SwingUtilities2.stringWidth(mi, fm, text); 283 checkSize.width 855 addWidth(int width, int gap, Dimension result) argument 1271 private int width; field in class:MenuItemLayoutHelper.RectSize 1279 RectSize(int width, int height, int origWidth, int maxWidth) argument 1302 setWidth(int width) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PSPrinterJob.java | 560 * It calculates using stringwidth the width of the string in the 947 * page. The width and height of the band is 952 int width, int height) 960 int psBytesPerRow = 3 * width; 969 mPSStream.println("[" + width + " 0 " 976 mPSStream.println(width + " " + height + " " + 8 + "[" 977 + width + " 0 " 985 byte[] rgbData = new byte[width*3]; 1211 float width) { 1221 * Exceptions are \t, \n and \r which are considered zero-width 951 printBand(byte[] bgrData, int x, int y, int width, int height) argument 1209 textOut(Graphics g, String str, float x, float y, Font mLastFont, FontRenderContext frc, float width) argument 2084 private int width, height; field in class:PSPrinterJob.PluginPrinter [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XComponentPeer.java | 148 reshape(r.x, r.y, r.width, r.height); 434 public void repaint(long tm, int x, int y, int width, int height) { argument 456 public void setBounds(int x, int y, int width, int height, int op) { argument 459 this.width = width; 461 xSetBounds(x,y,width,height); 466 public void reshape(int x, int y, int width, int height) { argument 467 setBounds(x, y, width, height, SET_BOUNDS); 480 r.x + ", y = " + r.y + ", width = " + r.width 665 drawMotif3DRect(Graphics g, int x, int y, int width, int height, boolean topShadow) argument 768 createImage(int width, int height) argument 772 createVolatileImage(int width, int height) argument 989 draw3DRect(Graphics g, Color colors[], int x, int y, int width, int height, boolean raised) argument 1022 draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised) argument [all...] |
H A D | XListPeer.java | 49 public final static int SCROLLBAR_WIDTH = 13; // Actual width of the 291 * Calculates the width of item's label 299 * return the on-screen width of the given string "str" 344 return new Rectangle(width - (SCROLLBAR_WIDTH), 0, SCROLLBAR_WIDTH+1, height); 348 return new Rectangle(0, height - SCROLLBAR_WIDTH, width, SCROLLBAR_WIDTH); 481 // recalculate horizontal scrollbar width - then we're done... 494 hsb.setBlockIncrement(width - ((2 * SPACE) + (2 * MARGIN) + (vsbVis ? SCROLLBAR_AREA : 0))); 498 return width - ((2 * MARGIN) + (vsbVis ? SCROLLBAR_AREA : 0)); 530 // width is always only based on presence of vert sb 532 focusRect.width 1900 paintScrollBar(XScrollbar scr, Graphics g, int x, int y, int width, int height, boolean paintAll) argument [all...] |
H A D | XTextAreaPeer.java | 117 setBounds(x, y, width, height, SET_BOUNDS); 259 vsbwidth = vsb.getMinimumSize().width; 317 public void setBounds(int x, int y, int width, int height, int op) { argument 318 super.setBounds(x, y, width, height, op); 338 textPane.setBounds(childX,childY,width,height); 921 int w = thumbBounds.width; 1046 vpBorder.paintBorder(scrollpane, g, r.x, r.y, r.width, r.height); 1153 g.drawRect(r.x,r.y,r.width,r.height); 1161 g.drawRect(r.x,r.y,r.width,r.height);
|
H A D | XWindow.java | 126 native void getWindowBounds(long window, long x, long y, long width, long height); argument 493 public void repaint(int x,int y, int width, int height) { argument 500 g.setClip(x,y,width,height); 535 public void popup(int x, int y, int width, int height) { argument 537 xSetBounds(x, y, width, height); 983 public void doLayout(int x, int y, int width, int height) {} argument 1281 reshape(bounds.x, bounds.y, bounds.width, bounds.height); 1284 public void reshape(int x, int y, int width, int height) { argument 1285 if (width <= 0) { 1286 width 1322 updateSizeHints(int x, int y, int width, int height) argument [all...] |
H A D | XWindowPeer.java | 351 int width = icon.getWidth(); 355 if (width > PREFERRED_SIZE_FOR_ICON || height > PREFERRED_SIZE_FOR_ICON) { 359 int scaledWidth = width; 374 if (width > PREFERRED_SIZE_FOR_ICON || height > PREFERRED_SIZE_FOR_ICON) { 482 public void setBounds(int x, int y, int width, int height, int op) { argument 487 super.setBounds(x, y, width, height, op); 493 bounds.x, bounds.y, bounds.width, bounds.height); 670 int area = newBounds.width * newBounds.height; 682 horizAmt = Math.min(newBounds.x + newBounds.width, 683 screenBounds.x + screenBounds.width) [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTabbedPaneUI.java | 621 public int getBaseline(JComponent c, int width, int height) { argument 622 super.getBaseline(c, width, height); 690 return c.getBaseline(pref.width, pref.height) + 856 tabRect.width, tabRect.height, isSelected); 860 tabRect.width, tabRect.height, isSelected); 879 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, textRect.width); 911 * subtracting xCropLen[i] from (tab.x + tab.width) and adding yCroplen[i] 930 rlen = tabRect.width; 932 end = tabRect.x + tabRect.width; 941 ostart = tabRect.x + tabRect.width; 2339 preferredTabAreaHeight(int tabPlacement, int width) argument 2888 preferredTabAreaHeight(int tabPlacement, int width) argument [all...] |
H A D | BasicTreeUI.java | 533 bounds.x = tree.getWidth() - (bounds.x + bounds.width) - 1096 public int getBaseline(JComponent c, int width, int height) { argument 1097 super.getBaseline(c, width, height); 1114 baseline = renderer.getBaseline(pref.width, pref.height); 1272 g.fillRect(rect.x, rect.y, rect.width, rect.height); 1312 xRect.width -= totalChildIndent + totalChildIndent; 1320 rect.width = xRect.width; 1332 rect.x = rect.x + rect.width - 100; 1335 rect.width [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | AWTAccessor.java | 82 * component's width, height, and location relative to 138 * Resizes the component to the specified width and height. 140 void setSize(Component comp, int width, int height); argument 189 * Returns the width of the component. 287 void setSecurityWarningSize(Window w, int width, int height); argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneCopyFromBasicUI.java | 592 public int getBaseline(final JComponent c, final int width, final int height) { argument 593 super.getBaseline(c, width, height); 659 return c.getBaseline(pref.width, pref.height) + (cellHeight - pref.height) / 2 + tabInsets.top; 813 paintTabBackground(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected); 816 paintTabBorder(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected); 860 * subtracting xCropLen[i] from (tab.x + tab.width) and adding yCroplen[i] 879 rlen = tabRect.width; 881 end = tabRect.x + tabRect.width; 890 ostart = tabRect.x + tabRect.width; 939 while (xx <= x + rects[tabIndex].width) { 2182 preferredTabAreaHeight(final int tabPlacement, final int width) argument 2717 preferredTabAreaHeight(final int tabPlacement, final int width) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | OSXSurfaceData.java | 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) { argument 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, fBound 911 doRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 921 doRoundRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument 931 doOval(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 941 doArc(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type, boolean isfill) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPrinterJob.java | 294 private int mPrintWidth; // width in pixels of printable area 298 private int mPageWidth; // width in pixels of entire page 995 protected void frameRect(float x, float y, float width, float height) { argument 996 frameRect(getPrintDC(), x, y, width, height); 999 protected void fillRect(float x, float y, float width, float height, argument 1003 fillRect(getPrintDC(), x, y, width, height, 1010 protected void selectPen(float width, Color color) { argument 1014 selectPen(getPrintDC(), width, 1021 protected boolean selectStylePen(int cap, int join, float width, argument 1043 return (selectStylePen(getPrintDC(), endCap, lineJoin, width, 1358 printBand(byte[] data, int x, int y, int width, int height) argument 1442 frameRect(long printDC, float x, float y, float width, float height) argument 1449 fillRect(long printDC, float x, float y, float width, float height, int red, int green, int blue) argument 1457 selectPen(long printDC, float width, int red, int green, int blue) argument 1464 selectStylePen(long printDC, long cap, long join, float width, int red, int green, int blue) argument 1745 setWin32MediaAttrib(int dmIndex, int width, int length) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_PrintJob.cpp | 142 // public void setSize(double width, double height) 146 // protected void setImageableArea(double x, double y, double width, 249 jdouble width; member in struct:__anon1093 266 jint x, jint y, jint width, jint height); 268 long width, long height); 299 static jbyte *findNonWhite(jbyte *image, long sy, long width, long height, 301 static jbyte *findWhite(jbyte *image, long sy, long width, long height, 661 int width = ::GetDeviceCaps(hdc, PHYSICALWIDTH); local 666 double w = (double)width/resx; 791 // width 1545 Java_sun_awt_windows_WPrinterJob_printBand(JNIEnv *env, jobject self, jbyteArray imageArray, jint x, jint y, jint width, jint height) argument 1753 Java_sun_awt_windows_WPrinterJob_frameRect(JNIEnv *env, jobject self, jlong printDC, jfloat x, jfloat y, jfloat width, jfloat height) argument 1782 Java_sun_awt_windows_WPrinterJob_fillRect(JNIEnv *env, jobject self, jlong printDC, jfloat x, jfloat y, jfloat width, jfloat height, jint red, jint green, jint blue) argument 1811 Java_sun_awt_windows_WPrinterJob_selectPen(JNIEnv *env, jobject self, jlong printDC, jfloat width, jint red, jint green, jint blue) argument 1837 Java_sun_awt_windows_WPrinterJob_selectStylePen(JNIEnv *env, jobject self, jlong printDC, jlong cap, jlong join, jfloat width, jint red, jint green, jint blue) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 322 setDevClip(r.x, r.y, r.width, r.height); 1006 // calculated a rotated pen width of just slightly greater 1008 // here so that we do not misclassify single width lines as 1807 public boolean hitClip(int x, int y, int width, int height) { argument 1808 if (width <= 0 || height <= 0) { 1831 x+width, y, 1833 x+width, y+height 1840 width = (int) Math.ceil(Math.max(Math.max(d[0], d[2]), 1847 width += x; 1852 if (!getCompClip().intersectsQuickCheckXYXY(x, y, width, heigh 3057 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument 3070 copyImage(Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgcolor, ImageObserver observer) argument 3096 drawImage(Image img, int x, int y, int width, int height, Color bg, ImageObserver observer) argument [all...] |
/openjdk7/jaxp/src/org/w3c/dom/css/ |
H A D | CSS2Properties.java | 83 * initial values should be returned (e.g. a <code>border-width</code> value 87 * <code>border-[width|style|color]</code> properties, the minimum number of 435 * See the border-top-width property definition in CSS2. 439 * See the border-top-width property definition in CSS2. 449 * See the border-right-width property definition in CSS2. 453 * See the border-right-width property definition in CSS2. 463 * See the border-bottom-width property definition in CSS2. 467 * See the border-bottom-width property definition in CSS2. 477 * See the border-left-width property definition in CSS2. 481 * See the border-left-width propert 1775 setWidth(String width) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JComponent.java | 847 boolean hitClip = g.hitClip(cr.x, cr.y, cr.width, 854 int width = cr.width; 858 clipBounds.width, clipBounds.height, cr); 860 if(getObscuredState(i, cr.x, cr.y, cr.width, 866 cr.width = width; 869 Graphics cg = sg.create(cr.x, cr.y, cr.width, 1016 clipW = clipRect.width; 1090 rm.paint(this, this, g, clip.x, clip.y, clip.width, cli 2556 getBaseline(int width, int height) argument 4386 rectangleIsObscured(int x,int y,int width,int height) argument 4792 repaint(long tm, int x, int y, int width, int height) argument 5243 getObscuredState(int compIndex, int x, int y, int width, int height) argument [all...] |