]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Tue, 13 Feb 2018 00:33:25 +0000 (19:33 -0500)
committerCristy <urban-warrior@imagemagick.org>
Tue, 13 Feb 2018 00:33:25 +0000 (19:33 -0500)
MagickCore/draw.c

index 6f6f6860b2959a27367630f8f17a549fc5bd2972..eac32d9ffdc11970e8021ca68962931d1a4ae6a6 100644 (file)
@@ -2052,7 +2052,7 @@ MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info,
           {
             GetNextToken(q,&q,extent,token);
             factor=strchr(token,'%') != (char *) NULL ? 0.01 : 1.0;
-            graphic_context[n]->fill.alpha=(MagickRealType) (QuantumRange-
+            graphic_context[n]->fill_alpha=(MagickRealType) (QuantumRange-
               ClampToQuantum((MagickRealType) QuantumRange*(1.0-factor*
               StringToDouble(token,&next_token))));
             if (token == next_token)
@@ -2732,7 +2732,7 @@ MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info,
           {
             GetNextToken(q,&q,extent,token);
             factor=strchr(token,'%') != (char *) NULL ? 0.01 : 1.0;
-            graphic_context[n]->stroke.alpha=(MagickRealType) (QuantumRange-
+            graphic_context[n]->stroke_alpha=(MagickRealType) (QuantumRange-
               ClampToQuantum((MagickRealType) QuantumRange*(1.0-factor*
               StringToDouble(token,&next_token))));
             if (token == next_token)