Home
last modified time | relevance | path

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

/PHP-8.0/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.c124 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx()
128 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
132 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx()
138 for (x = 0; x < gdImageSX(im); x++) { in gdImageWebpCtx()
154 …out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quantization, &ou… 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_interpolation.c1137 float dx = (float)gdImageSX(im) / (float)_width; in gdImageScaleBilinearPalette()
1239 float dx = (float)gdImageSX(im) / (float)dst_w; in gdImageScaleBilinearTC()
1337 const int src_w = gdImageSX(src); in gdImageScaleBicubicFixed()
1603 src_area.width = gdImageSX(src); in gdRotatedImageSize()
1615 const int src_w = gdImageSX(src); in gdImageRotateNearestNeighbour()
1672 const int src_w = gdImageSX(src); in gdImageRotateGeneric()
1738 const unsigned int src_w = gdImageSX(src); in gdImageRotateBilinear()
1853 const int src_w = gdImageSX(src); in gdImageRotateBicubicFixed()
2241 area_full.width = gdImageSX(src); in gdTransformAffineGetImage()
2321 || 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.h743 #define gdImageSX(im) ((im)->sx) macro
/PHP-8.0/ext/gd/
H A Dgd.c2361 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
3059 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3698 src_x = gdImageSX(im); in PHP_FUNCTION()

Completed in 43 milliseconds