Lines Matching refs:new_height
1095 …_width, const unsigned int src_height, const unsigned int new_width, const unsigned int new_height) in gdImageScaleTwoPass() argument
1100 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1116 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1122 _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1128 … int src_height, const gdImagePtr dst, const unsigned int new_width, const unsigned int new_height) in Scale() argument
1132 if (new_width == 0 || new_height == 0) { in Scale()
1143 _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in Scale()
1158 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour() local
1160 const float dy = (float)im->sy / (float)new_height; in gdImageScaleNearestNeighbour()
1169 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1173 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1179 for (i=0; i<new_height; i++) { in gdImageScaleNearestNeighbour()
1258 …ageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearPalette() argument
1261 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1274 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1278 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1360 … gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearTC() argument
1363 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1376 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1380 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1451 …tr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinear() argument
1454 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1456 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1463 const long new_height = MAX(1, height); in gdImageScaleBicubicFixed() local
1467 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1479 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1490 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1497 for (i=0; i < new_height; i++) { in gdImageScaleBicubicFixed()
1685 …Ptr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) in gdImageScale() argument
1693 if (new_width == 0 || new_height == 0) { in gdImageScale()
1700 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1704 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1708 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1716 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1755 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1759 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1761 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1765 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1770 for (i = 0; i < new_height; i++) { in gdImageRotateNearestNeighbour()
1774 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1782 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1786 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1812 int new_width, new_height; in gdImageRotateGeneric() local
1828 new_height = bbox.height; in gdImageRotateGeneric()
1830 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1836 for (i = 0; i < new_height; i++) { in gdImageRotateGeneric()
1840 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1869 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1886 new_height = bbox.height; in gdImageRotateBilinear()
1888 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1894 for (i = 0; i < new_height; i++) { in gdImageRotateBilinear()
1899 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1984 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
2004 new_height = bbox.height; in gdImageRotateBicubicFixed()
2005 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
2012 for (i=0; i < new_height; i++) { in gdImageRotateBicubicFixed()
2017 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()