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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2345 void gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2368 stx[i] = dstW * (i+1) / srcW - dstW * i / srcW ;
2455 void gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2461 gdImageCopyResized (dst, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
2467 for (x = dstX; (x < dstX + dstW); x++) {
2472 sx1 = ((double) x - (double) dstX) * (double) srcW / dstW;
2473 sx2 = ((double) (x + 1) - (double) dstX) * (double) srcW / dstW;
/PHP_TRUNK/ext/gd/
H A Dgd.c1899 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
1915 dstW = DW;
1917 gdImageCopyResampled(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);
3700 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; local
3716 dstW = DW;
3718 if (dstW <= 0 || dstH <= 0 || srcW <= 0 || srcH <= 0) {
3723 gdImageCopyResized(im_dst, im_src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH);

Completed in 14 milliseconds