r=pedemont, sr=blizzard OS/2 only - use FM_INVERT for drawing inverted rect git-svn-id: svn://10.0.0.236/trunk@112777 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1107,7 +1107,7 @@ nsRenderingContextOS2 :: InvertRect(nscoord aX, nscoord aY, nscoord aWidth, nsco
|
||||
{
|
||||
nsRect tr(aX, aY, aWidth, aHeight);
|
||||
LONG CurMix = GFX (::GpiQueryMix (mPS), FM_ERROR);
|
||||
GFX (::GpiSetMix (mPS, FM_XOR), FALSE);
|
||||
GFX (::GpiSetMix (mPS, FM_INVERT), FALSE);
|
||||
PMDrawRect(tr, FALSE);
|
||||
GFX (::GpiSetMix (mPS, CurMix), FALSE);
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user