Added "ImageAlpha" option to the IMAGE meter.

Changed the interpolation mode in AntiAlias=1 to Default from Bicubic. There is a possibility that this change will be changed again in the future.
This commit is contained in:
spx
2010-02-20 00:39:08 +00:00
parent 0bcd8c30fc
commit 16b1918af3
3 changed files with 32 additions and 3 deletions

View File

@ -419,7 +419,8 @@ bool CMeter::Draw(Graphics& graphics)
if (m_AntiAlias)
{
graphics.SetInterpolationMode(InterpolationModeBicubic);
//graphics.SetInterpolationMode(InterpolationModeBicubic); // Bicubic is not suitable for shrinking an image.
graphics.SetInterpolationMode(InterpolationModeDefault);
graphics.SetSmoothingMode(SmoothingModeHighQuality);
graphics.SetPixelOffsetMode(PixelOffsetModeHighQuality);
}