"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gd_interpolation.c" between
libgd-2.3.1.tar.gz and libgd-2.3.2.tar.gz

About: LibGD is a library for the dynamic creation of images by programmers (PNG, JPEG, GIF, WebP, XPM, BMP support).

gd_interpolation.c  (libgd-2.3.1):gd_interpolation.c  (libgd-2.3.2)
skipping to change at line 96 skipping to change at line 96
const unsigned int height); const unsigned int height);
static gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, static gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im,
const unsigned int width, const unsigned int width,
const unsigned int height); const unsigned int height);
static gdImagePtr gdImageRotateNearestNeighbour(gdImagePtr src, static gdImagePtr gdImageRotateNearestNeighbour(gdImagePtr src,
const float degrees, const float degrees,
const int bgColor); const int bgColor);
static gdImagePtr gdImageRotateGeneric(gdImagePtr src, const float degrees, static gdImagePtr gdImageRotateGeneric(gdImagePtr src, const float degrees,
const int bgColor); const int bgColor);
#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) :
(x)))
/* only used here, let do a generic fixed point integers later if required by ot her /* only used here, let do a generic fixed point integers later if required by ot her
part of GD */ part of GD */
typedef long gdFixed; typedef long gdFixed;
/* Integer to fixed point */ /* Integer to fixed point */
#define gd_itofx(x) ((x) << 8) #define gd_itofx(x) ((x) << 8)
/* Float to fixed point */ /* Float to fixed point */
#define gd_ftofx(x) (long)((x) * 256) #define gd_ftofx(x) (long)((x) * 256)
/* Double to fixed point */ /* Double to fixed point */
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)