- Timestamp:
- Jun 14, 2000, 4:26:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/region.cpp
r3705 r3709 1 /* $Id: region.cpp,v 1. 6 2000-06-14 13:17:51sandervl Exp $ */1 /* $Id: region.cpp,v 1.7 2000-06-14 14:26:59 sandervl Exp $ */ 2 2 3 3 /* … … 567 567 //the y-inversion of the window 568 568 //NOTE: YINVERSION dependancy 569 lpRect->top = rectl.yBottom; 570 lpRect->bottom = rectl.yTop; 569 if(rectl.yBottom > rectl.yTop) { 570 lpRect->top = rectl.yTop; 571 lpRect->bottom = rectl.yBottom; 572 } 573 else { 574 lpRect->top = rectl.yBottom; 575 lpRect->bottom = rectl.yTop; 576 } 571 577 572 578 rc = (lComplexity == RGN_RECT) ? SIMPLEREGION_W : COMPLEXREGION_W; 573 579 } 574 580 } 575 dprintf(("GDI32: GetClipBox of %X returned %d \n", hdc, rc));581 dprintf(("GDI32: GetClipBox of %X returned %d; (%d,%d)(%d,%d)", hdc, rc, lpRect->left, lpRect->top, lpRect->right, lpRect->bottom)); 576 582 return rc; 577 583 }
Note:
See TracChangeset
for help on using the changeset viewer.