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

/PHP_TRUNK/ext/gd/
H A Dgd.c4448 int org_height, org_width; local
4528 org_width = gdImageSX (im_org);
4531 x_ratio = (float) org_width / (float) dest_width;
4540 dest_width = (int) (org_width / x_ratio);
4543 x_ratio = (float) dest_width / (float) org_width;
4551 dest_width = (int) (org_width * x_ratio);
4561 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 9 milliseconds