mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Added the workaround to pin the window to desktop in Vista/7 with Aero.
- Added !RainmeterSetTransparency, !RainmeterShowFade, !RainmeterHideFade, !RainmeterToggleFade. - Added the function to log the installed font families to the log file when Debug=1 is set. - Added the workaround for issue 145. The wrong drawing position was fixed when AntiAlias=0 is set.
This commit is contained in:
@ -643,10 +643,11 @@ bool CMeterImage::Draw(Graphics& graphics)
|
||||
drawH = m_H;
|
||||
}
|
||||
|
||||
//if (m_AntiAlias && m_Rotate != 0.0f)
|
||||
//{
|
||||
// graphics.SetCompositingQuality(CompositingQualityHighQuality);
|
||||
//}
|
||||
if (!m_AntiAlias)
|
||||
{
|
||||
//graphics.SetInterpolationMode(InterpolationModeNearestNeighbor);
|
||||
graphics.SetPixelOffsetMode(PixelOffsetModeHalf);
|
||||
}
|
||||
|
||||
Rect r(x, y, drawW, drawH);
|
||||
graphics.DrawImage(drawBitmap, r, 0, 0, imageW, imageH, UnitPixel);
|
||||
|
Reference in New Issue
Block a user