]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 4 Sep 2012 13:50:01 +0000 (13:50 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 4 Sep 2012 13:50:01 +0000 (13:50 +0000)
MagickCore/draw.c

index 8a20eb0df874ab78db24fab4d6ece58f2be2c0c9..7a447d3661fbc7824e1d2e325f9e8d243773ca34 100644 (file)
@@ -3978,7 +3978,7 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image,
         Fill and/or stroke.
       */
       fill_alpha=GetFillAlpha(polygon_info[id],mid,fill,draw_info->fill_rule,
-        x-0.5,y-0.5,&stroke_alpha);
+        x+0.5,y+0.5,&stroke_alpha);
       if (draw_info->stroke_antialias == MagickFalse)
         {
           fill_alpha=fill_alpha > 0.25 ? 1.0 : 0.0;