From: cristy Date: Fri, 7 May 2010 12:25:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9540 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78817adf5263f4ee13725cd84ef4b550d26ac563;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index 2f424bf82..89c6c6d8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ 2010-05-06 6.6.1-6 Cristy * Do not claim gray colorspace if gray image includes a non-gray pixel. * Initialize BMP alpha channel to opaque for RGB images. + * Fixed under allocation for reound rectangles. 2010-05-06 6.6.1-6 Anthony Thyssen * Made use of new no-'sync' channel enabled mathematical compose methods diff --git a/magick/draw.c b/magick/draw.c index aa370153e..ce8b658b4 100644 --- a/magick/draw.c +++ b/magick/draw.c @@ -2853,7 +2853,7 @@ MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info) } case RoundRectanglePrimitive: { - length*=5+4*BezierQuantum; + length*=5+8*BezierQuantum; break; } case BezierPrimitive: