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

/PHP_TRUNK/ext/gd/
H A Dgd.c4414 int org_height, org_width; local
4496 org_width = gdImageSX (im_org);
4499 x_ratio = (float) org_width / (float) dest_width;
4508 dest_width = (int) (org_width / x_ratio);
4511 x_ratio = (float) dest_width / (float) org_width;
4519 dest_width = (int) (org_width * x_ratio);
4529 gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height);

Completed in 10 milliseconds