Home
last modified time | relevance | path

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

/PHP-8.3/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.c511 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 Dgd_interpolation.c1166 float dx = (float)gdImageSX(im) / (float)_width; in gdImageScaleBilinearPalette()
1268 float dx = (float)gdImageSX(im) / (float)dst_w; in gdImageScaleBilinearTC()
1366 const int src_w = gdImageSX(src); in gdImageScaleBicubicFixed()
1632 src_area.width = gdImageSX(src); in gdRotatedImageSize()
1644 const int src_w = gdImageSX(src); in gdImageRotateNearestNeighbour()
1701 const int src_w = gdImageSX(src); in gdImageRotateGeneric()
1767 const unsigned int src_w = gdImageSX(src); in gdImageRotateBilinear()
1882 const int src_w = gdImageSX(src); in gdImageRotateBicubicFixed()
2270 area_full.width = gdImageSX(src); in gdTransformAffineGetImage()
2350 || 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.3/ext/gd/
H A Dgd.c2297 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
2982 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3623 src_x = gdImageSX(im); in PHP_FUNCTION()

Completed in 57 milliseconds