Blit code for masks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-03-29 23:04:38 +00:00
parent b02121c3a1
commit 23e356deb0

View File

@@ -1445,6 +1445,11 @@ bool wxDC::DoBlit(
,vXsrc + vWidth, vYsrc + vHeight ,vXsrc + vWidth, vYsrc + vHeight
}; };
POINTL aPoint3[4] = { vXdest, vYdest POINTL aPoint3[4] = { vXdest, vYdest
,vXdest + vWidth, vYdest + vHeight
,vXsrc, vYsrc
,vXsrc + vWidth, vYsrc + vHeight
};
POINTL aPoint4[4] = { vXdest, vYdest
,vXdest + vWidth, vYdest + vHeight ,vXdest + vWidth, vYdest + vHeight
,0, 0 ,0, 0
,vWidth, vHeight ,vWidth, vHeight
@@ -1511,7 +1516,7 @@ bool wxDC::DoBlit(
rc = ::GpiBitBlt( GetHPS() rc = ::GpiBitBlt( GetHPS()
,hPSMask ,hPSMask
,4L ,4L
,aPoint2 ,aPoint3
,ROP_SRCAND ,ROP_SRCAND
,BBO_IGNORE ,BBO_IGNORE
); );
@@ -1532,7 +1537,7 @@ bool wxDC::DoBlit(
rc = ::GpiBitBlt( GetHPS() rc = ::GpiBitBlt( GetHPS()
,hPSMask ,hPSMask
,4L ,4L
,aPoint2 ,aPoint4
,ROP_SRCPAINT ,ROP_SRCPAINT
,BBO_IGNORE ,BBO_IGNORE
); );