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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.h680 void gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);
691 void gdImageCopyResampled(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);
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.c1891 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
1907 dstW = DW;
1909 gdImageCopyResampled(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
3678 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
3694 dstW = DW;
3696 if (dstW <= 0 || dstH <= 0 || srcW <= 0 || srcH <= 0) {
3701 gdImageCopyResized(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);

Completed in 16 milliseconds