From: dirk Date: Fri, 9 Aug 2013 19:11:19 +0000 (+0000) Subject: Set default for invert parameter of levelColors. X-Git-Tag: 7.0.1-0~3409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ee4392f105a92ce4b28cdcd166ec32a9014ae5c;p=imagemagick Set default for invert parameter of levelColors. --- diff --git a/Magick++/lib/Magick++/Image.h b/Magick++/lib/Magick++/Image.h index 9079eed67..2e24468eb 100644 --- a/Magick++/lib/Magick++/Image.h +++ b/Magick++/lib/Magick++/Image.h @@ -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_,