dcutil.c (cba5acbc) | dcutil.c (405ce532) |
---|---|
1#include <win32k.h> 2 3#define NDEBUG 4#include <debug.h> 5 6BOOL FASTCALL 7GreDPtoLP(HDC hdc, LPPOINT lpPoints, INT nCount) 8{ --- 729 unchanged lines hidden (view full) --- 738 rc.top = max( rc.top, 0 ); 739 rc.right = min( rc.right, rcRgn.right - rcRgn.left ); 740 rc.bottom = min( rc.bottom, rcRgn.bottom - rcRgn.top ); 741 DPRINT("Rao dc %p r %d b %d\n",pdc,rcRgn.right - rcRgn.left, rcRgn.bottom - rcRgn.top); 742 DPRINT("rc l %d t %d\n",rc.left,rc.top); 743 DPRINT(" r %d b %d\n",rc.right,rc.bottom); 744 ret = DCB_SET; 745 } | 1#include <win32k.h> 2 3#define NDEBUG 4#include <debug.h> 5 6BOOL FASTCALL 7GreDPtoLP(HDC hdc, LPPOINT lpPoints, INT nCount) 8{ --- 729 unchanged lines hidden (view full) --- 738 rc.top = max( rc.top, 0 ); 739 rc.right = min( rc.right, rcRgn.right - rcRgn.left ); 740 rc.bottom = min( rc.bottom, rcRgn.bottom - rcRgn.top ); 741 DPRINT("Rao dc %p r %d b %d\n",pdc,rcRgn.right - rcRgn.left, rcRgn.bottom - rcRgn.top); 742 DPRINT("rc l %d t %d\n",rc.left,rc.top); 743 DPRINT(" r %d b %d\n",rc.right,rc.bottom); 744 ret = DCB_SET; 745 } |
746 IntDPtoLP( pdc, &rc, 2 ); | 746 IntDPtoLP(pdc, (PPOINTL)&rc, 2); |
747 DPRINT("rc1 l %d t %d\n",rc.left,rc.top); 748 DPRINT(" r %d b %d\n",rc.right,rc.bottom); 749 } 750 else 751 { 752 rc = pdc->erclBounds; 753 ret = DCB_SET; 754 } --- 78 unchanged lines hidden (view full) --- 833 DC_UnlockDc(pdc); 834 _SEH2_YIELD(return 0;) 835 } 836 _SEH2_END; 837 838 RECTL_vMakeWellOrdered(&rcl); 839 840 if (!(flags & DCB_WINDOWMGR)) | 747 DPRINT("rc1 l %d t %d\n",rc.left,rc.top); 748 DPRINT(" r %d b %d\n",rc.right,rc.bottom); 749 } 750 else 751 { 752 rc = pdc->erclBounds; 753 ret = DCB_SET; 754 } --- 78 unchanged lines hidden (view full) --- 833 DC_UnlockDc(pdc); 834 _SEH2_YIELD(return 0;) 835 } 836 _SEH2_END; 837 838 RECTL_vMakeWellOrdered(&rcl); 839 840 if (!(flags & DCB_WINDOWMGR)) |
841 { | 841 { |
842 IntLPtoDP( pdc, (POINT *)&rcl, 2 ); 843 RECTL_bUnionRect(&pdc->erclBoundsApp, &pdc->erclBoundsApp, &rcl); 844 } 845 else 846 RECTL_bUnionRect(&pdc->erclBounds, &pdc->erclBounds, &rcl); 847 } 848 849 if (flags & DCB_ENABLE) --- 94 unchanged lines hidden --- | 842 IntLPtoDP( pdc, (POINT *)&rcl, 2 ); 843 RECTL_bUnionRect(&pdc->erclBoundsApp, &pdc->erclBoundsApp, &rcl); 844 } 845 else 846 RECTL_bUnionRect(&pdc->erclBounds, &pdc->erclBounds, &rcl); 847 } 848 849 if (flags & DCB_ENABLE) --- 94 unchanged lines hidden --- |