]> granicus.if.org Git - imagemagick/commitdiff
Draw strokes even if stroke color is transparent to properly support patterns
authorCristy <urban-warrior@imagemagick.org>
Mon, 14 Mar 2016 21:52:53 +0000 (17:52 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 14 Mar 2016 21:52:53 +0000 (17:52 -0400)
MagickCore/draw.c

index f62e851bdda679cd8fb0eb63ae8faca2fa181842..3532d0577259374200daee2e9c2b86d68fc55353 100644 (file)
@@ -4615,8 +4615,7 @@ MagickExport MagickBooleanType DrawPrimitive(Image *image,
           break;
         }
       mid=ExpandAffine(&draw_info->affine)*draw_info->stroke_width/2.0;
-      if ((mid > 1.0) &&
-          (draw_info->stroke.alpha != (Quantum) TransparentAlpha))
+      if (mid > 1.0)
         {
           MagickBooleanType
             closed_path;