Searched defs:sy (Results 1 - 6 of 6) sorted by relevance

/PHP_5_6/ext/gd/libgd/
H A Dgd.c123 gdImagePtr gdImageCreate (int sx, int sy) argument
128 if (overflow2(sx, sy)) {
132 if (overflow2(sizeof(unsigned char *), sy)) {
139 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy);
140 im->AA_opacity = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy);
146 for (i = 0; i < sy; i++) {
152 im->sy = sy;
170 im->cy2 = im->sy - 1;
176 gdImagePtr gdImageCreateTrueColor (int sx, int sy) argument
2468 double sx, sy; local
2785 int sx, sy; local
3024 const unsigned int sy = gdImageSY(src); local
[all...]
H A Dgd_gd.c97 static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy) argument
117 if (!gdGetWord(sy, in)) {
121 GD2_DBG(printf("Image is %dx%d\n", *sx, *sy));
124 im = gdImageCreateTrueColor(*sx, *sy);
126 im = gdImageCreate(*sx, *sy);
167 int sx, sy; local
172 im = _gdCreateFromFile(in, &sx, &sy);
181 for (y = 0; y < sy; y++) {
191 for (y = 0; y < sy; y++) {
242 gdPutWord(im->sy, ou
[all...]
H A Dgd_gd2.c54 static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** chunkIdx) argument
98 if (!gdGetWord(sy, in)) {
102 GD2_DBG(php_gd_error("Image is %dx%d", *sx, *sy));
165 static gdImagePtr _gd2CreateFromFile (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) argument
169 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) {
175 im = gdImageCreateTrueColor(*sx, *sy);
177 im = gdImageCreate(*sx, *sy);
251 int sx, sy; local
269 if (!(im = _gd2CreateFromFile(in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx))) {
302 if (yhi > im->sy) {
[all...]
H A Dxbm.c144 if (y == im->sy) {
176 int x, y, c, b, sx, sy, p; local
207 sy = gdImageSY(image);
208 for (y = 0; y < sy; y++) {
213 if ((b == 128) || (x == sx && y == sy)) {
H A Dgd_interpolation.c749 int sy = (int)(y); local
751 const double yf = y - (double)sy;
760 const int c1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor) : getPixelOverflowPalette(im, sx, sy, bgColor);
761 const int c2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor) : getPixelOverflowPalette(im, sx - 1, sy, bgColor);
762 const int c3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy - 1, bgColor);
763 const int c4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy
[all...]
H A Dgd.h62 access sx, sy, the color table, and colorsTotal for
173 int sy; member in struct:gdImageStruct
348 gdImagePtr gdImageCreate(int sx, int sy);
354 gdImagePtr gdImageCreateTrueColor(int sx, int sy);
729 #define gdImageSY(im) ((im)->sy)

Completed in 13 milliseconds