Home
last modified time | relevance | path

Searched refs:srcW (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/gd/
H A Dgd.c1034 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; in PHP_FUNCTION() local
1046 srcW = SW; in PHP_FUNCTION()
2839 int srcH, srcW, srcY, srcX, dstY, dstX; in PHP_FUNCTION() local
2851 srcW = SW; in PHP_FUNCTION()
2866 int srcH, srcW, srcY, srcX, dstY, dstX, pct; in PHP_FUNCTION() local
2878 srcW = SW; in PHP_FUNCTION()
2894 int srcH, srcW, srcY, srcX, dstY, dstX, pct; in PHP_FUNCTION() local
2906 srcW = SW; in PHP_FUNCTION()
2922 int srcH, srcW, dstH, dstW, srcY, srcX, dstY, dstX; in PHP_FUNCTION() local
2934 srcW = SW; in PHP_FUNCTION()
[all …]
/php-src/ext/gd/libgd/
H A Dgd.c2401 …st, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) in gdImageCopyResized() argument
2412 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2419 stx = (int *) gdMalloc (sizeof (int) * srcW); in gdImageCopyResized()
2423 for (i = 0; (i < srcW); i++) { in gdImageCopyResized()
2424 stx[i] = dstW * (i+1) / srcW - dstW * i / srcW ; in gdImageCopyResized()
2436 for (x = srcX; (x < (srcX + srcW)); x++) { in gdImageCopyResized()
2511 …st, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) in gdImageCopyResampled() argument
2517 gdImageCopyResized (dst, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); in gdImageCopyResampled()
2528 sx1 = ((double) x - (double) dstX) * (double) srcW / dstW; in gdImageCopyResampled()
2529 sx2 = ((double) (x + 1) - (double) dstX) * (double) srcW / dstW; in gdImageCopyResampled()
H A Dgd.h708 …t, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);
719 …t, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);

Completed in 47 milliseconds