Searched refs:gdImageSX (Results 1 – 13 of 13) sorted by relevance
/php-src/ext/gd/libgd/ |
H A D | testac.c | 81 im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale), in testDrawing() 95 gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2), in testDrawing() 107 (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale), in testDrawing() 108 gdImageSX (im_in), gdImageSY (im_in)); in testDrawing()
|
H A D | gd_webp.c | 125 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx() 129 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx() 133 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx() 139 for (x = 0; x < gdImageSX(im); x++) { in gdImageWebpCtx() 157 out_size = WebPEncodeLosslessRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, &out); in gdImageWebpCtx() 159 out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quality, &out); in gdImageWebpCtx()
|
H A D | gddemo.c | 84 gdImageSX (brush), gdImageSY (brush), in main() 85 gdImageSX (im_in), gdImageSY (im_in)); in main()
|
H A D | gd_crop.c | 81 const int width = gdImageSX(im); in gdImageCropAuto() 183 const int width = gdImageSX(im); in gdImageCropThreshold() 258 const int tr = gdImageGetPixel(im, gdImageSX(im) - 1, 0); in gdGuessBackgroundColorFromCorners() 260 const int br = gdImageGetPixel(im, gdImageSX(im) - 1, gdImageSY(im) -1); in gdGuessBackgroundColorFromCorners()
|
H A D | gd_wbmp.c | 108 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { in _gdImageWBMPCtx() 116 for (x = 0; x < gdImageSX(image); x++) { in _gdImageWBMPCtx()
|
H A D | webpng.c | 166 gdImageSX (im), gdImageSY (im), in main() 192 maxx = gdImageSX(im); in main()
|
H A D | gd_xbm.c | 200 gdCtxPrintf(out, "#define %s_width %d\n", name, gdImageSX(image)); in gdImageXbmCtx() 209 sx = gdImageSX(image); in gdImageXbmCtx()
|
H A D | gd_avif.c | 511 if (!gdImageSX(im) || !gdImageSY(im)) { in gdImageAvifCtx() 516 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx() 530 avifImage *avifIm = avifImageCreate(gdImageSX(im), gdImageSY(im), 8, subsampling); in gdImageAvifCtx()
|
H A D | gd_interpolation.c | 1169 float dx = (float)gdImageSX(im) / (float)_width; in gdImageScaleBilinearPalette() 1267 float dx = (float)gdImageSX(im) / (float)dst_w; in gdImageScaleBilinearTC() 1363 const int src_w = gdImageSX(src); in gdImageScaleBicubicFixed() 1592 if (new_width == gdImageSX(src) && new_height == gdImageSY(src)) { in gdImageScale() 1630 src_area.width = gdImageSX(src); in gdRotatedImageSize() 1643 const int src_w = gdImageSX(src); in gdImageRotateNearestNeighbour() 1697 const int src_w = gdImageSX(src); in gdImageRotateGeneric() 1871 area_full.width = gdImageSX(src); in gdTransformAffineGetImage() 1951 || src_region->width < gdImageSX(src) in gdTransformAffineCopy() 2014 if ((dst_x + x) < 0 || (dst_x + x) > (gdImageSX(dst) - 1)) { in gdTransformAffineCopy()
|
H A D | gd_bmp.c | 181 …uncompressed_row = uncompressed_row_start = (unsigned char *) gdCalloc(gdImageSX(im) * 2, sizeof(c… in _gdImageBmpCtx() 190 memset (uncompressed_row, 0, gdImageSX(im)); in _gdImageBmpCtx() 209 if ((compressed_size = compress_row(uncompressed_row, gdImageSX(im))) < 0) { in _gdImageBmpCtx()
|
H A D | gd.c | 825 hx = gdImageSX(im->brush) / 2; in gdImageBrushApply() 827 x2 = x1 + gdImageSX(im->brush); in gdImageBrushApply() 895 srcx = x % gdImageSX(tile); in gdImageTileApply() 931 srcx = x % gdImageSX(im->tile); in gdImageTileGet() 2261 if (x2 >= gdImageSX(im)) { in _gdImageFilledHRectangle() 2262 x2 = gdImageSX(im) - 1; in _gdImageFilledHRectangle() 2305 if (x2 >= gdImageSX(im)) { in _gdImageFilledVRectangle() 2306 x2 = gdImageSX(im) - 1; in _gdImageFilledVRectangle() 3188 const unsigned int sx = gdImageSX(src); in gdImagePaletteToTrueColor()
|
H A D | gd.h | 750 #define gdImageSX(im) ((im)->sx) macro
|
/php-src/ext/gd/ |
H A D | gd.c | 2493 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION() 3259 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION() 3966 src_x = gdImageSX(im); in PHP_FUNCTION()
|
Completed in 180 milliseconds