]> granicus.if.org Git - imagemagick/commitdiff
Set default for invert parameter of levelColors.
authordirk <dirk@git.imagemagick.org>
Fri, 9 Aug 2013 19:11:19 +0000 (19:11 +0000)
committerdirk <dirk@git.imagemagick.org>
Fri, 9 Aug 2013 19:11:19 +0000 (19:11 +0000)
Magick++/lib/Magick++/Image.h

index 9079eed67e511ee4f99165d9cf0c80801be19610..2e24468eb2ba0ec164087a613e7172b8eb7c2310 100644 (file)
@@ -514,7 +514,7 @@ namespace Magick
     // has a useful range of 0 to ten.
     void            level ( const double blackPoint_,
                             const double whitePoint_,
-                            const double gamma_=1.0 );
+                            const double gamma_ = 1.0 );
 
     // Level image channel. Adjust the levels of the image channel by
     // scaling the values falling between specified white and black
@@ -530,7 +530,7 @@ namespace Magick
     void            levelChannel ( const ChannelType channel_,
                                    const double blackPoint_,
                                    const double whitePoint_,
-                                   const double gamma_=1.0 );
+                                   const double gamma_ = 1.0 );
 
     // Maps the given color to "black" and "white" values, linearly spreading
     // out the colors, and level values on a channel by channel bases, as
@@ -538,7 +538,7 @@ namespace Magick
     // ranges for each of the color channels separately.
     void            levelColors ( const Color &blackColor_,
                                   const Color &whiteColor_,
-                                  const bool invert_ );
+                                  const bool invert_ = false );
     void            levelColorsChannel ( const ChannelType channel_,
                                          const Color &blackColor_,
                                          const Color &whiteColor_,