Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
Description
20230408-0.4.15-dev-5922-gfc5311a
Our-mspaint-on-ReactOS-draws-white-resizing-border.png
Our-mspaint-on-Win10-draws-black-resizing-border.png
void DrawXorRect(HDC hdc, const RECT *prc) |
{
|
HGDIOBJ oldPen = ::SelectObject(hdc, ::CreatePen(PS_SOLID, 0, RGB(255, 255, 255))); |
HGDIOBJ oldBrush = ::SelectObject(hdc, ::GetStockObject(NULL_BRUSH)); |
INT oldRop2 = SetROP2(hdc, R2_XORPEN); |
::Rectangle(hdc, prc->left, prc->top, prc->right, prc->bottom);
|
::SetROP2(hdc, oldRop2);
|
::SelectObject(hdc, oldBrush);
|
::DeleteObject(::SelectObject(hdc, oldPen));
|
}
|
This issue is related to the bug of R2_XORPEN.
Attachments
Issue Links
- duplicates
-
CORE-18985 Bugs on gdi32!Rectangle function and XOR pen
- Untriaged
- relates to
-
CORE-18867 mspaint: Refactor and improve
- Resolved