Lines Matching refs:dst
16 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBa… in gdImageSkewX() argument
39 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
42 if (i < dst->sx) { in gdImageSkewX()
43 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
81 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewX()
82 pxlSrc = dst->transparent; in gdImageSkewX()
84 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewX()
87 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewX()
91 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { in gdImageSkewX()
92 gdImageSetPixel (dst, i+iOffset, uRow, pxlSrc); in gdImageSkewX()
100 if (i < dst->sx) { in gdImageSkewX()
101 gdImageSetPixel (dst, i, uRow, pxlLeft); in gdImageSkewX()
104 gdImageSetPixel (dst, iOffset, uRow, clrBack); in gdImageSkewX()
108 while (++i < dst->sx) { in gdImageSkewX()
109 gdImageSetPixel (dst, i, uRow, clrBack); in gdImageSkewX()
113 void gdImageSkewY (gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBa… in gdImageSkewY() argument
127 gdImageSetPixel (dst, uCol, i, clrBack); in gdImageSkewY()
134 pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
172 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewY()
173 pxlSrc = dst->transparent; in gdImageSkewY()
175 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
178 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewY()
182 if ((iYPos >= 0) && (iYPos < dst->sy)) { in gdImageSkewY()
183 gdImageSetPixel (dst, uCol, iYPos, pxlSrc); in gdImageSkewY()
190 if (i < dst->sy) { in gdImageSkewY()
191 gdImageSetPixel (dst, uCol, i, pxlLeft); in gdImageSkewY()
195 while (++i < dst->sy) { in gdImageSkewY()
196 gdImageSetPixel (dst, uCol, i, clrBack); in gdImageSkewY()
205 gdImagePtr dst; in gdImageRotate90() local
214 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90()
216 if (dst != NULL) { in gdImageRotate90()
217 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate90()
218 dst->alphaBlendingFlag = 0; in gdImageRotate90()
219 dst->saveAlphaFlag = 1; in gdImageRotate90()
220 dst->transparent = src->transparent; in gdImageRotate90()
222 gdImagePaletteCopy (dst, src); in gdImageRotate90()
234 if (ignoretransparent && c == dst->transparent) { in gdImageRotate90()
235 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); in gdImageRotate90()
237 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); in gdImageRotate90()
241 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate90()
244 return dst; in gdImageRotate90()
252 gdImagePtr dst; in gdImageRotate180() local
261 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180()
263 if (dst != NULL) { in gdImageRotate180()
264 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate180()
265 dst->alphaBlendingFlag = 0; in gdImageRotate180()
266 dst->saveAlphaFlag = 1; in gdImageRotate180()
267 dst->transparent = src->transparent; in gdImageRotate180()
269 gdImagePaletteCopy (dst, src); in gdImageRotate180()
282 if (ignoretransparent && c == dst->transparent) { in gdImageRotate180()
283 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); in gdImageRotate180()
285 gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); in gdImageRotate180()
289 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate180()
292 return dst; in gdImageRotate180()
300 gdImagePtr dst; in gdImageRotate270() local
309 dst = gdImageCreateTrueColor (src->sy, src->sx); in gdImageRotate270()
311 if (dst != NULL) { in gdImageRotate270()
312 int old_blendmode = dst->alphaBlendingFlag; in gdImageRotate270()
313 dst->alphaBlendingFlag = 0; in gdImageRotate270()
314 dst->saveAlphaFlag = 1; in gdImageRotate270()
315 dst->transparent = src->transparent; in gdImageRotate270()
317 gdImagePaletteCopy (dst, src); in gdImageRotate270()
330 if (ignoretransparent && c == dst->transparent) { in gdImageRotate270()
331 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); in gdImageRotate270()
333 gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); in gdImageRotate270()
337 dst->alphaBlendingFlag = old_blendmode; in gdImageRotate270()
340 return dst; in gdImageRotate270()