]> git.pld-linux.org Git - packages/gd.git/blame - gd-SetAAPixel.patch
- added gd(imagerotate) Provides, release 9
[packages/gd.git] / gd-SetAAPixel.patch
CommitLineData
341c4fa3
JB
1--- gd-2.0.33/gd.c.orig 2004-11-01 21:28:56.000000000 +0300
2+++ gd-2.0.33/gd.c 2005-09-09 00:00:42.000000000 +0400
3@@ -3032,6 +3032,11 @@
4 static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t)
5 {
6 int dr,dg,db,p,r,g,b;
7+
8+ /* Nikita Shulga: Can be called by gdImageAALine outside of clipped range*/
9+ /* Should avoid any drawing in that case */
10+ if (!gdImageBoundsSafeMacro(im,x,y)) return;
11+
12 p = gdImageGetPixel(im,x,y);
13 /* TBB: we have to implement the dont_blend stuff to provide
14 the full feature set of the old implementation */
This page took 0.334953 seconds and 4 git commands to generate.