cvs: gd(GD_2_0) /libgd gd.c

From: Date: Mon, 07 May 2007 07:08:16 +0000
Subject: cvs: gd(GD_2_0) /libgd gd.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-205@lists.php.net to get a copy of this message
pajoye Mon May 7 07:08:16 2007 UTC Modified files: (Branch: GD_2_0) /gd/libgd gd.c Log: - #79, regression in gdImageArc when used with gdAntiAliased http://cvs.php.net/viewvc.cgi/gd/libgd/gd.c?r1=1.49.2.8&r2=1.49.2.9&diff_format=u Index: gd/libgd/gd.c diff -u gd/libgd/gd.c:1.49.2.8 gd/libgd/gd.c:1.49.2.9 --- gd/libgd/gd.c:1.49.2.8 Sun May 6 20:12:01 2007 +++ gd/libgd/gd.c Mon May 7 07:08:16 2007 @@ -1,4 +1,4 @@ -/* $Id: gd.c,v 1.49.2.8 2007/05/06 20:12:01 pajoye Exp $ */ +/* $Id: gd.c,v 1.49.2.9 2007/05/07 07:08:16 pajoye Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -1610,6 +1610,13 @@ { e += 360; } + /* Disable antialias, we don't support it. It also have bad side effects + on the polylines rendering. The top/bottom and right/left of the arc + look horrible when AA is enabled. */ + if (color = gdAntiAliased) { + color = im->AA_color; + } + for (i = s; (i <= e); i++) { int x, y;

« previous php.gd.cvs (#205) next »