Home
last modified time | relevance | path

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

/php-src/ext/gd/libgd/
H A Dtestac.c82 (int) (gdImageSY (im_in) * scale)); in testDrawing()
96 (int) (gdImageSY (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.c129 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
133 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx()
138 for (y = 0; y < gdImageSY(im); y++) { 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.c82 const int height = gdImageSY(im); in gdImageCropAuto()
184 const int height = gdImageSY(im); in gdImageCropThreshold()
259 const int bl = gdImageGetPixel(im, 0, gdImageSY(im) -1); 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()
115 for (y = 0; y < gdImageSY(image); y++) { in _gdImageWBMPCtx()
H A Dwebpng.c166 gdImageSX (im), gdImageSY (im), in main()
193 maxy = gdImageSY(im); in main()
H A Dgd_xbm.c201 gdCtxPrintf(out, "#define %s_height %d\n", name, gdImageSY(image)); in gdImageXbmCtx()
210 sy = gdImageSY(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.c1127 float dy = (float)gdImageSY(im) / (float)_height; in gdImageScaleBilinearPalette()
1229 float dy = (float)gdImageSY(im) / (float)dst_h; in gdImageScaleBilinearTC()
1327 const int src_h = gdImageSY(src); in gdImageScaleBicubicFixed()
1593 src_area.height = gdImageSY(src); in gdRotatedImageSize()
1605 const int src_h = gdImageSY(src); in gdImageRotateNearestNeighbour()
1662 const int src_h = gdImageSY(src); in gdImageRotateGeneric()
1728 const unsigned int src_h = gdImageSY(src); in gdImageRotateBilinear()
1843 const int src_h = gdImageSY(src); in gdImageRotateBicubicFixed()
2231 area_full.height = gdImageSY(src); in gdTransformAffineGetImage()
2311 || src_region->height < gdImageSY(src)) { in gdTransformAffineCopy()
[all …]
H A Dgd.c820 hy = gdImageSY(im->brush) / 2; in gdImageBrushApply()
822 y2 = y1 + gdImageSY(im->brush); in gdImageBrushApply()
894 srcy = y % gdImageSY(tile); in gdImageTileApply()
930 srcy = y % gdImageSY(im->tile); in gdImageTileGet()
2250 if (y2 >= gdImageSY(im)) { in _gdImageFilledHRectangle()
2251 y2 = gdImageSY(im) - 1; in _gdImageFilledHRectangle()
2294 if (y2 >= gdImageSY(im)) { in _gdImageFilledVRectangle()
2295 y2 = gdImageSY(im) - 1; in _gdImageFilledVRectangle()
2794 if (maxy >= gdImageSY(im)) { in gdImageFilledPolygon()
2795 maxy = gdImageSY(im) - 1; in gdImageFilledPolygon()
[all …]
H A Dgd.h769 #define gdImageSY(im) ((im)->sy) macro
/php-src/ext/gd/
H A Dgd.c2503 for (y = 0; y < gdImageSY(im); y++) { in PHP_FUNCTION()
3285 RETURN_LONG(gdImageSY(im)); in PHP_FUNCTION()
3967 src_y = gdImageSY(im); in PHP_FUNCTION()

Completed in 54 milliseconds