Home
last modified time | relevance | path

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

/php-src/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.c1156 float dx = (float)gdImageSX(im) / (float)_width; in gdImageScaleBilinearPalette()
1258 float dx = (float)gdImageSX(im) / (float)dst_w; in gdImageScaleBilinearTC()
1356 const int src_w = gdImageSX(src); in gdImageScaleBicubicFixed()
1622 src_area.width = gdImageSX(src); in gdRotatedImageSize()
1634 const int src_w = gdImageSX(src); in gdImageRotateNearestNeighbour()
1691 const int src_w = gdImageSX(src); in gdImageRotateGeneric()
1757 const unsigned int src_w = gdImageSX(src); in gdImageRotateBilinear()
1872 const int src_w = gdImageSX(src); in gdImageRotateBicubicFixed()
2260 area_full.width = gdImageSX(src); in gdTransformAffineGetImage()
2340 || src_region->width < gdImageSX(src) in gdTransformAffineCopy()
[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.c823 hx = gdImageSX(im->brush) / 2; in gdImageBrushApply()
825 x2 = x1 + gdImageSX(im->brush); in gdImageBrushApply()
893 srcx = x % gdImageSX(tile); in gdImageTileApply()
929 srcx = x % gdImageSX(im->tile); in gdImageTileGet()
1112 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageLine()
1303 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageAALine()
2242 if (x2 >= gdImageSX(im)) { in _gdImageFilledHRectangle()
2243 x2 = gdImageSX(im) - 1; in _gdImageFilledHRectangle()
2286 if (x2 >= gdImageSX(im)) { in _gdImageFilledVRectangle()
2287 x2 = gdImageSX(im) - 1; in _gdImageFilledVRectangle()
[all …]
H A Dgd.h768 #define gdImageSX(im) ((im)->sx) macro
/php-src/ext/gd/
H A Dgd.c2509 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
3274 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3971 src_x = gdImageSX(im); in PHP_FUNCTION()

Completed in 51 milliseconds