return(constOptions()->adjoin());
}
-void Magick::Image::alpha(const bool matteFlag_)
+void Magick::Image::alpha(const bool alphaFlag_)
{
modifyImage();
// the image already has a matte channel but a matte channel is not
// desired, then set the matte channel to opaque.
GetPPException;
- if ((matteFlag_ && !constImage()->alpha_trait) ||
- (constImage()->alpha_trait && !matteFlag_))
+ if ((alphaFlag_ && !constImage()->alpha_trait) ||
+ (constImage()->alpha_trait && !alphaFlag_))
SetImageAlpha(image(),OpaqueAlpha,exceptionInfo);
ThrowImageException;
- image()->alpha_trait=matteFlag_ ? BlendPixelTrait : UndefinedPixelTrait;
+ image()->alpha_trait=alphaFlag_ ? BlendPixelTrait : UndefinedPixelTrait;
}
bool Magick::Image::alpha(void) const