we now set the correct stretchblt mode. as a result scaled images look a lot sweeter.

This commit is contained in:
michaelp%netscape.com 1998-08-05 18:06:19 +00:00
parent 5bc8fb4ae0
commit 6256b1dccd

View File

@ -289,6 +289,7 @@ nsresult nsRenderingContextWin :: SetupDC(HDC aOldDC, HDC aNewDC)
::SetTextColor(aNewDC, RGB(0, 0, 0));
::SetBkMode(aNewDC, TRANSPARENT);
::SetPolyFillMode(aNewDC, WINDING);
::SetStretchBltMode(aNewDC, COLORONCOLOR);
if (nsnull != aOldDC)
{