Public feed #600456

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-07-02 21:32 UTC
rendered paste body
		if (x < clipX) {
			width -= clipX - x;
			x = clipX;
		}
		if (y < clipY) {
			height -= clipY - y;
			y = clipY;
		}
		if (x + width > clipWidth)
			width = clipWidth - x;
		if (y + height > clipHeight)
			height = clipHeight - y;
		i_82_ = ((i_82_ & 0xff00ff) * i_83_ >> 8 & 0xff00ff)
				+ ((i_82_ & 0xff00) * i_83_ >> 8 & 0xff00);
		int i_84_ = 256 - i_83_;
		int i_85_ = imageWidth - width;
		int i_86_ = x + y * imageWidth;
		for (int i_87_ = 0; i_87_ < height; i_87_++) {
			for (int i_88_ = -width; i_88_ < 0; i_88_++) {
				int i_89_ = imageData[i_86_];
				i_89_ = ((i_89_ & 0xff00ff) * i_84_ >> 8 & 0xff00ff)
						+ ((i_89_ & 0xff00) * i_84_ >> 8 & 0xff00);
				imageData[i_86_++] = i_82_ + i_89_;
			}
			i_86_ += i_85_;
		}