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

/PHP_TRUNK/ext/gd/
H A Dgd.c4574 int org_height, org_width; local
4656 org_width = gdImageSX (im_org);
4659 x_ratio = (float) org_width / (float) dest_width;
4668 dest_width = (int) (org_width / x_ratio);
4671 x_ratio = (float) dest_width / (float) org_width;
4679 dest_width = (int) (org_width * x_ratio);
4689 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 9 milliseconds