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

/PHP_TRUNK/ext/gd/
H A Dgd.c4436 int org_height, org_width; local
4518 org_width = gdImageSX (im_org);
4521 x_ratio = (float) org_width / (float) dest_width;
4530 dest_width = (int) (org_width / x_ratio);
4533 x_ratio = (float) dest_width / (float) org_width;
4541 dest_width = (int) (org_width * x_ratio);
4551 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 10 milliseconds