Searched refs:org_height (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/gd/
H A Dgd.c4414 int org_height, org_width; local
4497 org_height = gdImageSY (im_org);
4500 y_ratio = (float) org_height / (float) dest_height;
4509 dest_height = (int) (org_height / y_ratio);
4512 y_ratio = (float) dest_height / (float) org_height;
4520 dest_height = (int) (org_height * y_ratio);
4529 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 10 milliseconds