From 23e356deb03a3b1f8413b0d9738a667d4c287f71 Mon Sep 17 00:00:00 2001 From: David Webster Date: Thu, 29 Mar 2001 23:04:38 +0000 Subject: [PATCH] Blit code for masks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/dc.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/os2/dc.cpp b/src/os2/dc.cpp index 4c82821970..43bc9720fe 100644 --- a/src/os2/dc.cpp +++ b/src/os2/dc.cpp @@ -1445,6 +1445,11 @@ bool wxDC::DoBlit( ,vXsrc + vWidth, vYsrc + vHeight }; POINTL aPoint3[4] = { vXdest, vYdest + ,vXdest + vWidth, vYdest + vHeight + ,vXsrc, vYsrc + ,vXsrc + vWidth, vYsrc + vHeight + }; + POINTL aPoint4[4] = { vXdest, vYdest ,vXdest + vWidth, vYdest + vHeight ,0, 0 ,vWidth, vHeight @@ -1511,7 +1516,7 @@ bool wxDC::DoBlit( rc = ::GpiBitBlt( GetHPS() ,hPSMask ,4L - ,aPoint2 + ,aPoint3 ,ROP_SRCAND ,BBO_IGNORE ); @@ -1532,7 +1537,7 @@ bool wxDC::DoBlit( rc = ::GpiBitBlt( GetHPS() ,hPSMask ,4L - ,aPoint2 + ,aPoint4 ,ROP_SRCPAINT ,BBO_IGNORE ); -- 2.45.2