]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 1 Feb 2012 00:38:49 +0000 (00:38 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 1 Feb 2012 00:38:49 +0000 (00:38 +0000)
Magick++/lib/Image.cpp
Magick++/lib/Magick++/Image.h

index 6312e745d0cbf2e23aea71521a9845b1599d80ca..6b782521927556b47db58701585d7333af4ba798 100644 (file)
@@ -1954,7 +1954,7 @@ void Magick::Image::shade ( const double azimuth_,
   (void) DestroyExceptionInfo( &exceptionInfo );
 }
 
-// Charcoal-effect image
+// Simulate an image shadow
 void Magick::Image::shadow( const double percent_opacity_, const double sigma_,
   const ssize_t x_, const ssize_t y_ )
 {
index 7b90864a435947d3c1c8a349d7fecc588923b82b..f0ebfa7b6cc06b6d0833f6a6bf689633fbaee953 100644 (file)
@@ -607,11 +607,11 @@ namespace Magick
           const double elevation_ = 30,
           const bool   colorShading_ = false );
     
-    // simulate an image shadow
-    void            shadow ( const double radius_ = 0.0,
-                             const double sigma_ = 1.0,
-                             const ssize_t x_ = 0,
-                             const ssize_t y_ = 0 );
+    // Simulate an image shadow
+    void            shadow ( const double percent_opacity_ = 80.0,
+                             const double sigma_ = 0.5,
+                             const ssize_t x_ = 5,
+                             const ssize_t y_ = 5 );
 
     // Sharpen pixels in image
     // The radius_ parameter specifies the radius of the Gaussian, in