Lines Matching refs:sx
46 if (i < dst->sx) { in gdImageSkewX()
50 for (i = 0; i < src->sx; i++) { in gdImageSkewX()
95 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { in gdImageSkewX()
104 if (i < dst->sx) { in gdImageSkewX()
112 while (++i < dst->sx) { in gdImageSkewX()
218 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90()
229 for (uX = 0; uX<src->sx; uX++) { in gdImageRotate90()
265 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180()
276 for (uX = 0; uX<src->sx; uX++) { in gdImageRotate180()
287 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); in gdImageRotate180()
289 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); in gdImageRotate180()
313 dst = gdImageCreateTrueColor (src->sy, src->sx); in gdImageRotate270()
324 for (uX = 0; uX<src->sx; uX++) { in gdImageRotate270()
335 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); in gdImageRotate270()
337 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); in gdImageRotate270()
362 newx = (int)(src->sx + src->sy * fabs(dTan)); in gdImageRotate45()
384 gdImageCopy (dst1, src,0,0,0,0,src->sx,src->sy); in gdImageRotate45()
426 newx = dst1->sx; in gdImageRotate45()
429 dOffset = (src->sx-1) * dSinE; in gdImageRotate45()
431 dOffset = -dSinE * (src->sx - newx); in gdImageRotate45()
434 newy = (int) ((double) src->sx * fabs( dSinE ) + (double) src->sy * cos (dRadAngle))+1; in gdImageRotate45()
457 for (u = 0; u < dst2->sx; u++, dOffset -= dSinE) { in gdImageRotate45()
465 newx = (int) ((double)src->sy * fabs (dSinE) + (double)src->sx * cos (dRadAngle)) + 1; in gdImageRotate45()
490 dOffset = (double)(src->sx - 1) * dSinE * -dTan; in gdImageRotate45()
492 dOffset = dTan * ((double)(src->sx - 1) * -dSinE + (double)(1 - newy)); in gdImageRotate45()