Reverted the part of r345 (workaround for Issue 145). It's cause of low scaling quality in IMAGE meter.

This commit is contained in:
spx 2010-07-02 18:10:29 +00:00
parent 343a38c2cf
commit 5d436f2ffe

View File

@ -656,12 +656,6 @@ bool CMeterImage::Draw(Graphics& graphics)
drawH = m_H;
}
if (!m_AntiAlias)
{
//graphics.SetInterpolationMode(InterpolationModeNearestNeighbor);
graphics.SetPixelOffsetMode(PixelOffsetModeHalf);
}
Rect r(x, y, drawW, drawH);
graphics.DrawImage(drawBitmap, r, 0, 0, imageW, imageH, UnitPixel);
}