mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user