Lines Matching refs:new_height
1048 …_width, const unsigned int src_height, const unsigned int new_width, const unsigned int new_height) in gdImageScaleTwoPass() argument
1054 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1074 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1080 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1100 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour() local
1102 const float dy = (float)im->sy / (float)new_height; in gdImageScaleNearestNeighbour()
1111 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1115 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1121 for (i=0; i<new_height; i++) { in gdImageScaleNearestNeighbour()
1152 …ageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearPalette() argument
1155 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1168 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1172 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1254 … gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearTC() argument
1257 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1269 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1273 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1343 …tr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinear() argument
1346 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1348 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1355 const long new_height = MAX(1, height); in gdImageScaleBicubicFixed() local
1359 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1371 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1382 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1389 for (i=0; i < new_height; i++) { in gdImageScaleBicubicFixed()
1577 …Ptr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) in gdImageScale() argument
1585 if (new_width == 0 || new_height == 0) { in gdImageScale()
1592 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1596 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1600 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1608 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1647 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1651 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1653 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1657 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1662 for (i = 0; i < new_height; i++) { in gdImageRotateNearestNeighbour()
1666 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1674 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1678 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1703 int new_width, new_height; in gdImageRotateGeneric() local
1719 new_height = bbox.height; in gdImageRotateGeneric()
1721 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1727 for (i = 0; i < new_height; i++) { in gdImageRotateGeneric()
1731 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1759 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1776 new_height = bbox.height; in gdImageRotateBilinear()
1778 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1784 for (i = 0; i < new_height; i++) { in gdImageRotateBilinear()
1789 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1874 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
1894 new_height = bbox.height; in gdImageRotateBicubicFixed()
1895 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
1902 for (i=0; i < new_height; i++) { in gdImageRotateBicubicFixed()
1907 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()