| /PHP_5_3/ext/gd/libgd/ |
| H A D | gd_arc_f_buggy.c | 13 static gdPoint gdArcClosest (int width, int height, int angle); 16 gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int width, int height, int color) 18 gdImageFilledArc (im, cx, cy, width, height, 0, 360, color, gdChord); 22 gdImageFilledArc (gdImagePtr im, int cx, int cy, int width, int height, int s, int e, int color, int style) 67 height = (height & 1) ? (height + 1) : (height); 70 b = height / 2; 110 gdImageFilledArc (im, cx, cy, width, height, [all...] |
| H A D | gd_gif_in.c | 97 static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP); /*1.4//, int ignore); */ 186 int width, height; local 219 height = LM_to_uint(buf[6], buf[7]); 221 if (left + width > screen_width || top + height > screen_height) { 228 if (!(im = gdImageCreate(width, height))) { 237 ReadImage(im, fd, width, height, localColorMap, 244 ReadImage(im, fd, width, height, 546 ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP) /*1.4//, int ignore) */ argument 612 if (ypos >= height) { 629 if (ypos >= height) [all...] |
| H A D | gd_png.c | 123 png_uint_32 width, height, rowbytes, w, h; local 192 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); 195 im = gdImageCreateTrueColor((int) width, (int) height); 197 im = gdImageCreate((int) width, (int) height); 322 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0); 324 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); 327 for (h = 0; h < height; ++h) { 358 for (h = 0; h < height; h++) { 371 for (h = 0; h < height; h++) { 391 for (h = 0; h < height; 466 int height = im->sy; local [all...] |
| H A D | gd_wbmp.c | 139 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { 151 for (row = 0; row < wbmp->height; row++) {
|
| H A D | gdft.c | 75 * Line separation as a factor of font height. 942 penf.y -= (long)(face->size->metrics.height * linespace); 1064 yd = slot->metrics.height - slot->metrics.horiBearingY; 1072 if ( (desc = (slot->metrics.height - slot->metrics.horiBearingY)) > yd) {
|
| H A D | gdxpm.c | 35 if (!(im = gdImageCreate(image.width, image.height))) { 121 for (i = 0; i < image.height; i++) {
|
| H A D | wbmp.c | 111 createwbmp (int width, int height, int color) argument 123 if (overflow2(sizeof (int) * width, height)) { 128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL) 135 wbmp->height = height; 137 for (i = 0; i < width * height; wbmp->bitmap[i++] = color); 177 wbmp->height = getmbi (getin, in); 178 if (wbmp->height == -1) 185 printf ("W: %d, H: %d\n", wbmp->width, wbmp->height); 189 overflow2(sizeof (int) * wbmp->width, wbmp->height)) [all...] |
| H A D | wbmp.h | 31 int height; /* height of the image */ member in struct:Wbmp_ 46 Wbmp *createwbmp( int width, int height, int color );
|
| H A D | xbm.c | 39 unsigned int width = 0, height = 0; local 66 if (!strcmp("height", type)) { 67 height = (unsigned int) value; 80 bytes = (width * height / 8) + 1; 99 if(!(im = gdImageCreate(width, height))) {
|
| /PHP_5_3/ext/exif/ |
| H A D | exif.c | 129 ZEND_ARG_INFO(1, height) 1504 size_t width, height; member in struct:__anon53 1599 size_t height; member in struct:__anon57 2285 result->height = php_jpg_get16(Data+3); 2948 ImageInfo->Thumbnail.height = exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel TSRMLS_CC); 3437 ImageInfo->Height = sof_info.height; 3472 if (!ImageInfo->Thumbnail.width && !ImageInfo->Thumbnail.height) { 3519 ImageInfo->Thumbnail.height = sof_info.height; 3522 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: size: %d * %d", sof_info.width, sof_info.height); [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | image.c | 63 unsigned int height; member in struct:gfxinfo 113 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8); 135 result->height = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]) << 8) + ((unsigned int)dim[3]); 160 result->height = (((unsigned int)dim[ 7]) << 8) + ((unsigned int) dim[ 6]); 165 result->height = (((unsigned int)dim[11]) << 24) + (((unsigned int)dim[10]) << 16) + (((unsigned int)dim[ 9]) << 8) + ((unsigned int) dim[ 8]); 252 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) - 282 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) - 313 result->height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]) << 8) + ((unsigned int)dim[7]); 498 result->height = php_read2(stream TSRMLS_CC); 628 result->height 803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local 885 short width, height, bits; local 942 int i, width = 0, height = 0; local 1016 unsigned int width = 0, height = 0; local [all...] |
| /PHP_5_3/ext/gd/ |
| H A D | gd.c | 386 ZEND_ARG_INFO(0, height) 1494 * byte 12-15: (int) pixel height of each character 1497 * (nchars*width*height) bytes. 2413 long srcx, srcy, width, height; local 2421 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) { 2424 if (width < 1 || height < 1) { 2425 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero width or height not allowed"); 2471 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); 2493 im = (*func_p)(fp, srcx, srcy, width, height); 2611 /* {{{ proto resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height) 4545 long height, width, threshold; local [all...] |