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

/PHP_TRUNK/ext/gd/
H A Dgd.c4412 int org_height, org_width; local
4495 org_height = gdImageSY (im_org);
4498 y_ratio = (float) org_height / (float) dest_height;
4507 dest_height = (int) (org_height / y_ratio);
4510 y_ratio = (float) dest_height / (float) org_height;
4518 dest_height = (int) (org_height * y_ratio);
4527 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 9 milliseconds