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.c1933 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
1954 dstW = DW;
1956 gdImageCopyResampled(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
3814 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
3835 dstW = DW;
3837 if (dstW <= 0 || dstH <= 0 || srcW <= 0 || srcH <= 0) {
3842 gdImageCopyResized(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);

Completed in 14 milliseconds