Lines Matching refs:dst
20 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBa… in gdImageSkewX() argument
43 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
46 if (i < dst->sx) { in gdImageSkewX()
47 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
85 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewX()
86 pxlSrc = dst->transparent; in gdImageSkewX()
88 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewX()
91 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewX()
95 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { in gdImageSkewX()
96 gdImageSetPixel (dst, i+iOffset, uRow, pxlSrc); in gdImageSkewX()
104 if (i < dst->sx) { in gdImageSkewX()
105 gdImageSetPixel (dst, i, uRow, pxlLeft); in gdImageSkewX()
108 gdImageSetPixel (dst, iOffset, uRow, clrBack); in gdImageSkewX()
112 while (++i < dst->sx) { in gdImageSkewX()
113 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
117 void gdImageSkewY (gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBa… in gdImageSkewY() argument
131 gdImageSetPixel (dst, uCol, i, clrBack); in gdImageSkewY()
138 pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
176 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewY()
177 pxlSrc = dst->transparent; in gdImageSkewY()
179 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
182 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewY()
186 if ((iYPos >= 0) && (iYPos < dst->sy)) { in gdImageSkewY()
187 gdImageSetPixel (dst, uCol, iYPos, pxlSrc); in gdImageSkewY()
194 if (i < dst->sy) { in gdImageSkewY()
195 gdImageSetPixel (dst, uCol, i, pxlLeft); in gdImageSkewY()
199 while (++i < dst->sy) { in gdImageSkewY()
200 gdImageSetPixel (dst, uCol, i, clrBack); in gdImageSkewY()
209 gdImagePtr dst; in gdImageRotate90() local
218 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90()
220 if (dst != NULL) { in gdImageRotate90()
221 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate90()
222 dst->alphaBlendingFlag = 0; in gdImageRotate90()
224 dst->transparent = src->transparent; in gdImageRotate90()
226 gdImagePaletteCopy (dst, src); in gdImageRotate90()
238 if (ignoretransparent && c == dst->transparent) { in gdImageRotate90()
239 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); in gdImageRotate90()
241 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); in gdImageRotate90()
245 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate90()
248 return dst; in gdImageRotate90()
256 gdImagePtr dst; in gdImageRotate180() local
265 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180()
267 if (dst != NULL) { in gdImageRotate180()
268 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate180()
269 dst->alphaBlendingFlag = 0; in gdImageRotate180()
271 dst->transparent = src->transparent; in gdImageRotate180()
273 gdImagePaletteCopy (dst, src); in gdImageRotate180()
286 if (ignoretransparent && c == dst->transparent) { 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()
293 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate180()
296 return dst; in gdImageRotate180()
304 gdImagePtr dst; in gdImageRotate270() local
313 dst = gdImageCreateTrueColor (src->sy, src->sx); in gdImageRotate270()
315 if (dst != NULL) { in gdImageRotate270()
316 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate270()
317 dst->alphaBlendingFlag = 0; in gdImageRotate270()
319 dst->transparent = src->transparent; in gdImageRotate270()
321 gdImagePaletteCopy (dst, src); in gdImageRotate270()
334 if (ignoretransparent && c == dst->transparent) { 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()
341 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate270()
344 return dst; in gdImageRotate270()