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

/PHP_TRUNK/ext/gd/
H A Dgd.c4448 int org_height, org_width; local
4529 org_height = gdImageSY (im_org);
4532 y_ratio = (float) org_height / (float) dest_height;
4541 dest_height = (int) (org_height / y_ratio);
4544 y_ratio = (float) dest_height / (float) org_height;
4552 dest_height = (int) (org_height * y_ratio);
4561 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 9 milliseconds