]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 11 Jan 2012 01:45:16 +0000 (01:45 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 11 Jan 2012 01:45:16 +0000 (01:45 +0000)
MagickWand/mogrify.c
PerlMagick/Magick.xs

index 456b13d15d379a57536fb303f26bb5e9e298f641..d7202e2775cf4a4599954f96000fbd395d5fc9de 100644 (file)
@@ -2277,18 +2277,6 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
               geometry_info.sigma,exception);
             break;
           }
-        if (LocaleCompare("pen",option+1) == 0)
-          {
-            if (*option == '+')
-              {
-                (void) QueryColorCompliance("none",AllCompliance,
-                  &draw_info->fill,exception);
-                break;
-              }
-            (void) QueryColorCompliance(argv[i+1],AllCompliance,
-              &draw_info->fill,exception);
-            break;
-          }
         if (LocaleCompare("pointsize",option+1) == 0)
           {
             if (*option == '+')
@@ -6912,16 +6900,6 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info,
             (void) CloneString(&image_info->page,page);
             break;
           }
-        if (LocaleCompare("pen",option+1) == 0)
-          {
-            if (*option == '+')
-              {
-                (void) SetImageOption(image_info,option+1,"none");
-                break;
-              }
-            (void) SetImageOption(image_info,option+1,argv[i+1]);
-            break;
-          }
         if (LocaleCompare("ping",option+1) == 0)
           {
             image_info->ping=(*option == '-') ? MagickTrue : MagickFalse;
index 26594ab1474473ce134092ca99c385d2dbb61bf5..e73ce104ea23346818e7448f54927d50881c71dd 100644 (file)
@@ -275,7 +275,7 @@ static struct
       {"pointsize", RealReference}, {"density", StringReference},
       {"undercolor", StringReference}, {"stroke", StringReference},
       {"fill", StringReference}, {"geometry", StringReference},
-      {"pen", StringReference}, {"x", RealReference},
+      {"sans", StringReference}, {"x", RealReference},
       {"y", RealReference}, {"gravity", MagickGravityOptions},
       {"translate", StringReference}, {"scale", StringReference},
       {"rotate", RealReference}, {"skewX", RealReference},
@@ -1797,12 +1797,6 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image,
           geometry=(char *) RelinquishMagickMemory(geometry);
           break;
         }
-      if (LocaleCompare(attribute,"pen") == 0)
-        {
-          if (info)
-            (void) SetImageOption(info->image_info,"fill",SvPV(sval,na));
-          break;
-        }
       if (LocaleNCompare(attribute,"pixel",5) == 0)
         {
           int