Home
last modified time | relevance | path

Searched refs:gdImageSX (Results 1 – 13 of 13) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dtestac.c81 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 Dgd_webp.c125 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 Dgddemo.c84 gdImageSX (brush), gdImageSY (brush), in main()
85 gdImageSX (im_in), gdImageSY (im_in)); in main()
H A Dgd_crop.c81 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 Dgd_wbmp.c108 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { in _gdImageWBMPCtx()
116 for (x = 0; x < gdImageSX(image); x++) { in _gdImageWBMPCtx()
H A Dwebpng.c166 gdImageSX (im), gdImageSY (im), in main()
192 maxx = gdImageSX(im); in main()
H A Dgd_xbm.c200 gdCtxPrintf(out, "#define %s_width %d\n", name, gdImageSX(image)); in gdImageXbmCtx()
209 sx = gdImageSX(image); in gdImageXbmCtx()
H A Dgd_avif.c505 if (!gdImageSX(im) || !gdImageSY(im)) { in gdImageAvifCtx()
510 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx()
524 avifImage *avifIm = avifImageCreate(gdImageSX(im), gdImageSY(im), 8, subsampling); in gdImageAvifCtx()
H A Dgd_interpolation.c1136 float dx = (float)gdImageSX(im) / (float)_width; in gdImageScaleBilinearPalette()
1238 float dx = (float)gdImageSX(im) / (float)dst_w; in gdImageScaleBilinearTC()
1336 const int src_w = gdImageSX(src); in gdImageScaleBicubicFixed()
1602 src_area.width = gdImageSX(src); in gdRotatedImageSize()
1614 const int src_w = gdImageSX(src); in gdImageRotateNearestNeighbour()
1671 const int src_w = gdImageSX(src); in gdImageRotateGeneric()
1737 const unsigned int src_w = gdImageSX(src); in gdImageRotateBilinear()
1852 const int src_w = gdImageSX(src); in gdImageRotateBicubicFixed()
2240 area_full.width = gdImageSX(src); in gdTransformAffineGetImage()
2320 || src_region->width < gdImageSX(src) in gdTransformAffineCopy()
[all …]
H A Dgd.c853 hx = gdImageSX(im->brush) / 2; in gdImageBrushApply()
855 x2 = x1 + gdImageSX(im->brush); in gdImageBrushApply()
923 srcx = x % gdImageSX(tile); in gdImageTileApply()
959 srcx = x % gdImageSX(im->tile); in gdImageTileGet()
1058 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageLine()
1249 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageAALine()
2188 if (x2 >= gdImageSX(im)) { in _gdImageFilledHRectangle()
2189 x2 = gdImageSX(im) - 1; in _gdImageFilledHRectangle()
2232 if (x2 >= gdImageSX(im)) { in _gdImageFilledVRectangle()
2233 x2 = gdImageSX(im) - 1; in _gdImageFilledVRectangle()
[all …]
H A Dgd_bmp.c172 …uncompressed_row = uncompressed_row_start = (unsigned char *) gdCalloc(gdImageSX(im) * 2, sizeof(c… in gdImageBmpCtx()
181 memset (uncompressed_row, 0, gdImageSX(im)); in gdImageBmpCtx()
200 if ((compressed_size = compress_row(uncompressed_row, gdImageSX(im))) < 0) { in gdImageBmpCtx()
H A Dgd.h766 #define gdImageSX(im) ((im)->sx) macro
/PHP-8.2/ext/gd/
H A Dgd.c2296 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
2981 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3622 src_x = gdImageSX(im); in PHP_FUNCTION()

Completed in 49 milliseconds