Home
last modified time | relevance | path

Searched refs:res_x (Results 1 – 5 of 5) sorted by relevance

/PHP-8.3/ext/gd/libgd/
H A Dgd_png.c129 png_uint_32 width, height, rowbytes, w, h, res_x, res_y; in gdImageCreateFromPngCtx() local
238 if (png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type)) { in gdImageCreateFromPngCtx()
241 im->res_x = DPM2DPI(res_x); in gdImageCreateFromPngCtx()
556 png_set_pHYs(png_ptr, info_ptr, DPI2DPM(im->res_x), DPI2DPM(im->res_y), in gdImagePngCtxEx()
H A Dgd_jpeg.c209 cinfo.X_density = im->res_x; in _gdImageJpegCtx()
401 im->res_x = cinfo.X_density; in gdImageCreateFromJpegCtxEx()
405 im->res_x = DPCM2DPI(cinfo.X_density); in gdImageCreateFromJpegCtxEx()
H A Dgd.h242 unsigned int res_x; member
438 void gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y);
787 #define gdImageResolutionX(im) (im)->res_x
H A Dgd.c218 im->res_x = GD_RESOLUTION; in gdImageCreate()
270 im->res_x = GD_RESOLUTION; in gdImageCreateTrueColor()
3086 void gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y) in gdImageSetResolution() argument
3088 if (res_x > 0) im->res_x = res_x; in gdImageSetResolution()
/PHP-8.3/ext/gd/
H A Dgd.c3948 zend_long res_x, res_y; in PHP_FUNCTION() local
3951 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|l!l!", &IM, gd_image_ce, &res_x, &res_x_is_null, &re… in PHP_FUNCTION()
3958 gdImageSetResolution(im, res_x, res_y); in PHP_FUNCTION()
3961 gdImageSetResolution(im, res_x, res_x); in PHP_FUNCTION()

Completed in 67 milliseconds