- Timestamp:
- May 15, 2001, 12:34:48 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r5692 r5710 1 /* $Id: dc.cpp,v 1.10 1 2001-05-11 19:02:01sandervl Exp $ */1 /* $Id: dc.cpp,v 1.102 2001-05-15 10:34:48 sandervl Exp $ */ 2 2 3 3 /* … … 712 712 713 713 #ifdef DEBUG 714 //Note: GpiQueryClipBox returns logical points 714 715 lComplexity = GpiQueryClipBox(pHps->hps, &rectlClip); 715 716 dprintf(("ClipBox (%d): (%d,%d)(%d,%d)", lComplexity, rectlClip.xLeft, rectlClip.yBottom, rectlClip.xRight, rectlClip.yTop)); … … 727 728 728 729 #ifdef DEBUG 730 //Note: GpiQueryClipBox returns logical points 729 731 GpiQueryClipBox(pHps->hps, &rectlClip); 730 732 dprintf(("ClipBox (%d): (%d,%d)(%d,%d)", lComplexity, rectlClip.xLeft, rectlClip.yBottom, rectlClip.xRight, rectlClip.yTop)); … … 759 761 lpps->rcPaint.bottom = height - rectl.yBottom; 760 762 lpps->rcPaint.right = rectl.xRight; 763 //BeginPaint must return logical points instead of device points. 764 //(not the same if e.g. app changes page viewport) 765 DPtoLP(lpps->hdc, (LPPOINT)&lpps->rcPaint, 2); 761 766 } 762 767 else {
Note:
See TracChangeset
for help on using the changeset viewer.