mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Reverted the part of r345 (workaround for Issue 145). It's cause of low scaling quality in IMAGE meter.
This commit is contained in:
		@@ -656,12 +656,6 @@ bool CMeterImage::Draw(Graphics& graphics)
 | 
				
			|||||||
			drawH = m_H;
 | 
								drawH = m_H;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (!m_AntiAlias)
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			//graphics.SetInterpolationMode(InterpolationModeNearestNeighbor);
 | 
					 | 
				
			||||||
			graphics.SetPixelOffsetMode(PixelOffsetModeHalf);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		Rect r(x, y, drawW, drawH);
 | 
							Rect r(x, y, drawW, drawH);
 | 
				
			||||||
		graphics.DrawImage(drawBitmap, r, 0, 0, imageW, imageH, UnitPixel);
 | 
							graphics.DrawImage(drawBitmap, r, 0, 0, imageW, imageH, UnitPixel);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user