From: cristy Date: Tue, 4 Sep 2012 23:32:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5000 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcb9200ea6e0d531568f3c8ef10abdf598568a00;p=imagemagick --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 7a447d366..9be6fcecc 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -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); + (double) x,(double) y,&stroke_alpha); if (draw_info->stroke_antialias == MagickFalse) { fill_alpha=fill_alpha > 0.25 ? 1.0 : 0.0;