}
Magick::Color::Color(PixelInfo* rep_,PixelType pixelType_)
- : _pixel(rep_),_pixelOwn(false),_isValid(true),_pixelType(pixelType_)
+ : _pixel(rep_),
+ _isValid(true),
+ _pixelOwn(false),
+ _pixelType(pixelType_)
{
}
_length=0;
_size=0;
if ((x_ < 0) || (width_ == 0) || (y_ < 0) || (height_ == 0) ||
- (x_ > image_.columns()) || ((width_ + x_) > (::ssize_t)image_.columns())
- || (y_ > image_.rows()) || ((height_ + y_) > (::ssize_t)image_.rows())
+ (x_ > image_.columns()) || ((width_ + x_) > image_.columns())
+ || (y_ > image_.rows()) || ((height_ + y_) > image_.rows())
|| (map_.length() == 0))
return;
using namespace std;
Magick::ChannelMoments::ChannelMoments(void)
- : _huInvariants(8),
- _channel(SyncPixelChannel),
+ : _channel(SyncPixelChannel),
+ _huInvariants(8),
_centroidX(0.0),
_centroidY(0.0),
_ellipseAxisX(0.0),
}
Magick::ChannelMoments::ChannelMoments(const ChannelMoments &channelMoments_)
- : _huInvariants(channelMoments_._huInvariants),
- _channel(channelMoments_._channel),
+ : _channel(channelMoments_._channel),
+ _huInvariants(channelMoments_._huInvariants),
_centroidX(channelMoments_._centroidX),
_centroidY(channelMoments_._centroidY),
_ellipseAxisX(channelMoments_._ellipseAxisX),
Magick::ChannelMoments::ChannelMoments(const PixelChannel channel_,
const MagickCore::ChannelMoments *channelMoments_)
- : _huInvariants(),
- _channel(channel_),
+ : _channel(channel_),
+ _huInvariants(),
_centroidX(channelMoments_->centroid.x),
_centroidY(channelMoments_->centroid.y),
_ellipseAxisX(channelMoments_->ellipse_axis.x),