Searched refs:pct (Results 1 - 3 of 3) sorted by relevance
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd.h | 672 int srcX, int srcY, int w, int h, int pct); 674 int srcX, int srcY, int w, int h, int pct);
|
| H A D | gd.c | 2251 void gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) argument 2275 ncR = (int)(gdImageRed (src, c) * (pct / 100.0) + gdImageRed (dst, dc) * ((100 - pct) / 100.0)); 2276 ncG = (int)(gdImageGreen (src, c) * (pct / 100.0) + gdImageGreen (dst, dc) * ((100 - pct) / 100.0)); 2277 ncB = (int)(gdImageBlue (src, c) * (pct / 100.0) + gdImageBlue (dst, dc) * ((100 - pct) / 100.0)); 2291 void gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) argument 2313 * merge with greyscale target, but if pct is 100, the grey 2316 if (dst == src && pct [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 655 ZEND_ARG_INFO(0, pct) 667 ZEND_ARG_INFO(0, pct) 3639 /* {{{ proto bool imagecopymerge(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) 3646 int srcH, srcW, srcY, srcX, dstY, dstX, pct; local 3661 pct = PCT; 3663 gdImageCopyMerge(im_dst, im_src, dstX, dstY, srcX, srcY, srcW, srcH, pct); 3668 /* {{{ proto bool imagecopymergegray(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) 3675 int srcH, srcW, srcY, srcX, dstY, dstX, pct; local 3690 pct = PCT; 3692 gdImageCopyMergeGray(im_dst, im_src, dstX, dstY, srcX, srcY, srcW, srcH, pct); [all...] |
Completed in 32 milliseconds