Searched defs:dstW (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2343 void gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2366 stx[i] = dstW * (i+1) / srcW - dstW * i / srcW ;
2453 void gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2459 gdImageCopyResized (dst, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
2465 for (x = dstX; (x < dstX + dstW); x++) {
2470 sx1 = ((double) x - (double) dstX) * (double) srcW / dstW;
2471 sx2 = ((double) (x + 1) - (double) dstX) * (double) srcW / dstW;
/PHP_TRUNK/ext/gd/
H A Dgd.c1823 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
1844 dstW = DW;
1846 gdImageCopyResampled(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
3705 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
3726 dstW = DW;
3728 if (dstW <= 0 || dstH <= 0 || srcW <= 0 || srcH <= 0) {
3733 gdImageCopyResized(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);

Completed in 14 milliseconds