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

/PHP_TRUNK/ext/gd/
H A Dgd.c4412 int org_height, org_width; local
4494 org_width = gdImageSX (im_org);
4497 x_ratio = (float) org_width / (float) dest_width;
4506 dest_width = (int) (org_width / x_ratio);
4509 x_ratio = (float) dest_width / (float) org_width;
4517 dest_width = (int) (org_width * x_ratio);
4527 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 9 milliseconds