Home
last modified time | relevance | path

Searched refs:xportion (Results 1 – 19 of 19) sorted by relevance

/dports/graphics/p5-Image-Scale/Image-Scale-0.12/src/
H A Dgd.c70 float xportion = 1.0;
76 xportion = 1.0 - (sx - floor2(sx));
77 if (xportion > sx2 - sx1) {
78 xportion = sx2 - sx1;
83 xportion = sx2 - floor2(sx2);
86 xportion = 1.0;
90 pcontribution = xportion * yportion;
237 fixed_t xportion;
245 if (xportion > sx2 - sx1) {
246 xportion = sx2 - sx1;
[all …]
/dports/graphics/libgaiagraphics/libgaiagraphics-0.5/src/
H A Dgaiagraphics_image.c1639 double xportion; in gg_make_thumbnail() local
1644 if (xportion > sx2 - sx1) in gg_make_thumbnail()
1646 xportion = sx2 - sx1; in gg_make_thumbnail()
1652 xportion = sx2 - floor2 (sx2); in gg_make_thumbnail()
1656 xportion = 1.0; in gg_make_thumbnail()
1722 spixels += xportion * yportion; in gg_make_thumbnail()
1877 double xportion; in gg_make_grid_thumbnail() local
1882 if (xportion > sx2 - sx1) in gg_make_grid_thumbnail()
1884 xportion = sx2 - sx1; in gg_make_grid_thumbnail()
1890 xportion = sx2 - floor2 (sx2); in gg_make_grid_thumbnail()
[all …]
/dports/graphics/libwmf/libwmf-0.2.12/src/extra/gd/
H A Dgd.c2083 float xportion; in gdImageCopyResampled() local
2088 xportion = 1.0 - (sx - floor (sx)); in gdImageCopyResampled()
2089 if (xportion > sx2 - sx1) in gdImageCopyResampled()
2091 xportion = sx2 - sx1; in gdImageCopyResampled()
2097 xportion = sx2 - floor (sx2); in gdImageCopyResampled()
2101 xportion = 1.0; in gdImageCopyResampled()
2103 pcontribution = xportion * yportion; in gdImageCopyResampled()
2112 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/extra/gd/
H A Dgd.c2083 float xportion; in gdImageCopyResampled() local
2088 xportion = 1.0 - (sx - floor (sx)); in gdImageCopyResampled()
2089 if (xportion > sx2 - sx1) in gdImageCopyResampled()
2091 xportion = sx2 - sx1; in gdImageCopyResampled()
2097 xportion = sx2 - floor (sx2); in gdImageCopyResampled()
2101 xportion = 1.0; in gdImageCopyResampled()
2103 pcontribution = xportion * yportion; in gdImageCopyResampled()
2112 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/src/
H A Drl2pyramid.c2476 double xportion; in create_124_rescaled_raster() local
2481 if (xportion > sx2 - sx1) in create_124_rescaled_raster()
2483 xportion = sx2 - sx1; in create_124_rescaled_raster()
2489 xportion = sx2 - floor2 (sx2); in create_124_rescaled_raster()
2493 xportion = 1.0; in create_124_rescaled_raster()
2508 spixels += xportion * yportion; in create_124_rescaled_raster()
5021 double xportion; in raster_tile_124_rescaled() local
5026 if (xportion > sx2 - sx1) in raster_tile_124_rescaled()
5028 xportion = sx2 - sx1; in raster_tile_124_rescaled()
5034 xportion = sx2 - floor2 (sx2); in raster_tile_124_rescaled()
[all …]
/dports/lang/php73/php-7.3.33/ext/gd/libgd/
H A Dgd.c2574 double xportion; in gdImageCopyResampled() local
2578 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2579 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2580 xportion = sx2 - sx1; in gdImageCopyResampled()
2584 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2586 xportion = 1.0f; in gdImageCopyResampled()
2588 pcontribution = xportion * yportion; in gdImageCopyResampled()
2598 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/www/mod_php81/php-8.1.1/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/www/mod_php74/php-7.4.27/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/lang/php81/php-8.1.1/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/lang/php74/php-7.4.27/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/lang/php80/php-8.0.15/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/www/mod_php73/php-7.3.33/ext/gd/libgd/
H A Dgd.c2574 double xportion; in gdImageCopyResampled() local
2578 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2579 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2580 xportion = sx2 - sx1; in gdImageCopyResampled()
2584 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2586 xportion = 1.0f; in gdImageCopyResampled()
2588 pcontribution = xportion * yportion; in gdImageCopyResampled()
2598 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/sysutils/graffer/graffer-1.1/
H A Dgd.c2723 double xportion; in gdImageCopyResampled() local
2728 xportion = 1.0 - (sx - floor2 (sx)); in gdImageCopyResampled()
2729 if (xportion > sx2 - sx1) in gdImageCopyResampled()
2731 xportion = sx2 - sx1; in gdImageCopyResampled()
2737 xportion = sx2 - floor2 (sx2); in gdImageCopyResampled()
2741 xportion = 1.0; in gdImageCopyResampled()
2743 pcontribution = xportion * yportion; in gdImageCopyResampled()
2753 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/www/mod_php80/php-8.0.15/ext/gd/libgd/
H A Dgd.c2576 double xportion; in gdImageCopyResampled() local
2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
2581 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
2582 xportion = sx2 - sx1; in gdImageCopyResampled()
2586 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
2588 xportion = 1.0f; in gdImageCopyResampled()
2590 pcontribution = xportion * yportion; in gdImageCopyResampled()
2600 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/russian/gd/libgd-2.3.1/src/
H A Dgd.c3506 double xportion; in gdImageCopyResampled() local
3510 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
3511 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
3512 xportion = sx2 - sx1; in gdImageCopyResampled()
3516 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
3518 xportion = 1.0f; in gdImageCopyResampled()
3520 pcontribution = xportion * yportion; in gdImageCopyResampled()
3530 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/japanese/gd/libgd-2.3.1/src/
H A Dgd.c3506 double xportion; in gdImageCopyResampled() local
3510 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
3511 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
3512 xportion = sx2 - sx1; in gdImageCopyResampled()
3516 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
3518 xportion = 1.0f; in gdImageCopyResampled()
3520 pcontribution = xportion * yportion; in gdImageCopyResampled()
3530 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/ukrainian/gd/libgd-2.3.1/src/
H A Dgd.c3506 double xportion; in gdImageCopyResampled() local
3510 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
3511 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
3512 xportion = sx2 - sx1; in gdImageCopyResampled()
3516 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
3518 xportion = 1.0f; in gdImageCopyResampled()
3520 pcontribution = xportion * yportion; in gdImageCopyResampled()
3530 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/devel/doxygen/doxygen-1.9.3/libmscgen/
H A Dgd.c3495 float xportion; in gdImageCopyResampled() local
3499 xportion = 1.0f - (sx - floorf(sx)); in gdImageCopyResampled()
3500 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
3501 xportion = sx2 - sx1; in gdImageCopyResampled()
3505 xportion = sx2 - floorf(sx2); in gdImageCopyResampled()
3507 xportion = 1.0f; in gdImageCopyResampled()
3509 pcontribution = xportion * yportion; in gdImageCopyResampled()
3519 spixels += xportion * yportion; in gdImageCopyResampled()
/dports/graphics/gd/libgd-2.3.1/src/
H A Dgd.c3506 double xportion; in gdImageCopyResampled() local
3510 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled()
3511 if (xportion > sx2 - sx1) { in gdImageCopyResampled()
3512 xportion = sx2 - sx1; in gdImageCopyResampled()
3516 xportion = sx2 - floor_cast(sx2); in gdImageCopyResampled()
3518 xportion = 1.0f; in gdImageCopyResampled()
3520 pcontribution = xportion * yportion; in gdImageCopyResampled()
3530 spixels += xportion * yportion; in gdImageCopyResampled()