Home
last modified time | relevance | path

Searched refs:sy (Results 1 – 17 of 17) sorted by relevance

/PHP-5.3/ext/gd/tests/
H A Dimagefttext.phpt19 $sy = imagesy($im);
24 imagefilledrectangle($im, 0, 0, $sx - 1, $sy - 1, $colour_b);
25 imagefttext($im, $sy * 0.75, 0, 0, $sy - 1, $colour_w, $fontfile, "A", array());
28 for ($y = 0; $y < $sy; ++$y) {
39 return ($cnt < ($sx * $sy));
/PHP-5.3/ext/gd/libgd/
H A Dgd_gd.c97 static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy) in _gdCreateFromFile() argument
117 if (!gdGetWord(sy, in)) { in _gdCreateFromFile()
121 GD2_DBG(printf("Image is %dx%d\n", *sx, *sy)); in _gdCreateFromFile()
124 im = gdImageCreateTrueColor(*sx, *sy); in _gdCreateFromFile()
126 im = gdImageCreate(*sx, *sy); in _gdCreateFromFile()
167 int sx, sy; in gdImageCreateFromGdCtx() local
172 im = _gdCreateFromFile(in, &sx, &sy); in gdImageCreateFromGdCtx()
181 for (y = 0; y < sy; y++) { in gdImageCreateFromGdCtx()
191 for (y = 0; y < sy; y++) { in gdImageCreateFromGdCtx()
242 gdPutWord(im->sy, out); in _gdPutHeader()
[all …]
H A Dgd_rotate.c140 for (i = 0; i < src->sy; i++) { in gdImageSkewY()
186 if ((iYPos >= 0) && (iYPos < dst->sy)) { in gdImageSkewY()
194 if (i < dst->sy) { in gdImageSkewY()
199 while (++i < dst->sy) { in gdImageSkewY()
228 for (uY = 0; uY<src->sy; uY++) { in gdImageRotate90()
275 for (uY = 0; uY<src->sy; uY++) { in gdImageRotate180()
323 for (uY = 0; uY<src->sy; uY++) { in gdImageRotate270()
362 newx = (int)(src->sx + src->sy * fabs(dTan)); in gdImageRotate45()
363 newy = src->sy; in gdImageRotate45()
403 for (u = 0; u < dst1->sy; u++) { in gdImageRotate45()
[all …]
H A Dgd_color.c29 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { in gdImageColorMatch()
40 for( y=0; y<im1->sy; y++ ) { in gdImageColorMatch()
H A Dxbm.c144 if (y == im->sy) { in gdImageCreateFromXbm()
176 int x, y, c, b, sx, sy, p; in gdImageXbmCtx() local
207 sy = gdImageSY(image); in gdImageXbmCtx()
208 for (y = 0; y < sy; y++) { in gdImageXbmCtx()
213 if ((b == 128) || (x == sx && y == sy)) { in gdImageXbmCtx()
H A Dgd_filter.c30 for (y=0; y<src->sy; ++y) { in gdImageNegate()
62 for (y=0; y<src->sy; ++y) { in gdImageGrayScale()
99 for (y=0; y<src->sy; ++y) { in gdImageBrightness()
145 for (y=0; y<src->sy; ++y) { in gdImageContrast()
200 for (y=0; y<src->sy; ++y) { in gdImageColor()
244 srcback = gdImageCreateTrueColor (src->sx, src->sy); in gdImageConvolution()
253 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageConvolution()
257 for ( y=0; y<src->sy; y++) { in gdImageConvolution()
263 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution()
314 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageSelectiveBlur()
[all …]
H A Dgd.c152 im->sy = sy; in gdImageCreate()
205 im->sy = sy; in gdImageCreateTrueColor()
1304 if (y1 >= im->sy && y2 >= im->sy) { in gdImageAALine()
2476 sy = sy1; in gdImageCopyResampled()
2480 yportion = 1.0f - (sy - floor_cast(sy)); in gdImageCopyResampled()
2484 sy = floor_cast(sy); in gdImageCopyResampled()
2787 int sx, sy; in gdImageCompare() local
2809 sy = im1->sy; in gdImageCompare()
2810 if (im1->sy != im2->sy) { in gdImageCompare()
2812 if (im2->sy < im1->sy) { in gdImageCompare()
[all …]
H A Dgd_gd2.c98 if (!gdGetWord(sy, in)) { in _gd2GetHeader()
102 GD2_DBG(php_gd_error("Image is %dx%d", *sx, *sy)); in _gd2GetHeader()
175 im = gdImageCreateTrueColor(*sx, *sy); in _gd2CreateFromFile()
177 im = gdImageCreate(*sx, *sy); in _gd2CreateFromFile()
251 int sx, sy; in gdImageCreateFromGd2Ctx() local
302 if (yhi > im->sy) { in gdImageCreateFromGd2Ctx()
303 yhi = im->sy; in gdImageCreateFromGd2Ctx()
635 gdPutWord(im->sy, out); in _gd2PutHeader()
680 ncy = im->sy / cs + 1; in _gdImageGd2()
724 if (yhi > im->sy) { in _gdImageGd2()
[all …]
H A Dgd_pixelate.c14 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
24 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
H A Dgd.h108 int sy; member
233 gdImagePtr gdImageCreate(int sx, int sy);
239 gdImagePtr gdImageCreateTrueColor(int sx, int sy);
603 #define gdImageSY(im) ((im)->sy)
H A Dgd_topal.c361 int num_rows = oim->sy;
1291 int num_rows = oim->sy;
1396 int num_rows = oim->sy;
1791 nim = gdImageCreate(oim->sx, oim->sy);
1803 gdImageCopy(nim, oim, 0, 0, 0, 0, oim->sx, oim->sy);
1820 nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy);
1826 for (i = 0; (i < nim->sy); i++)
2010 for (i = 0; i < oim->sy; i++)
2024 for (i = 0; i < nim->sy; i++)
H A Dgd_jpeg.c190 cinfo.image_height = im->sy; in gdImageJpegCtx()
224 for (i = 0; i < im->sy; i++) { in gdImageJpegCtx()
239 for (i = 0; i < im->sy; i++) { in gdImageJpegCtx()
H A Dgd_gif_out.c135 out, tim->sx, tim->sy, tim->interlace, 0, tim->transparent, BitsPerPixel, in gdImageGifCtx()
H A Dgd_png.c466 int height = im->sy; in gdImagePngCtxEx()
H A Dgdft.c669 if (y >= im->sy || y < 0) {
/PHP-5.3/ext/pcre/pcrelib/testdata/
H A Dtestinput868 /x\sy\Sz/
H A Dtestoutput8152 /x\sy\Sz/

Completed in 72 milliseconds