Changeset 4557 for trunk/src/gdi32/region.cpp
- Timestamp:
- Nov 5, 2000, 7:48:22 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/region.cpp
r4552 r4557 1 /* $Id: region.cpp,v 1.1 5 2000-11-04 16:29:24sandervl Exp $ */1 /* $Id: region.cpp,v 1.16 2000-11-05 18:48:22 sandervl Exp $ */ 2 2 3 3 /* … … 67 67 //****************************************************************************** 68 68 //****************************************************************************** 69 static LONG clientHeight(HWND hwnd, pDCData pHps)69 static LONG hdcHeight(HWND hwnd, pDCData pHps) 70 70 { 71 71 if(hwnd == 0 && pHps != 0) 72 72 hwnd = pHps->hwnd; 73 73 74 74 if(hwnd != 0 || pHps == 0) 75 75 { … … 112 112 //****************************************************************************** 113 113 //****************************************************************************** 114 static LONG clientWidth(HWND hwnd, pDCData pHps)114 static LONG hdcWidth(HWND hwnd, pDCData pHps) 115 115 { 116 116 if(hwnd == 0 && pHps != 0) 117 117 hwnd = pHps->hwnd; 118 118 119 119 if(hwnd != 0 || pHps == 0) 120 120 { … … 176 176 } 177 177 else { 178 wHeight = clientHeight(hwnd, pHps);179 wWidth = clientWidth(hwnd, pHps);178 wHeight = hdcHeight(hwnd, pHps); 179 wWidth = hdcWidth(hwnd, pHps); 180 180 } 181 181 … … 565 565 //Convert coordinates from PM to win32 566 566 if (pHps->yInvert > 0) { 567 567 LONG temp = pHps->yInvert - rectl.yBottom; 568 568 rectl.yBottom = pHps->yInvert - rectl.yTop; 569 569 rectl.yTop = temp; 570 570 } 571 571 #endif … … 589 589 } 590 590 // if(lpRect->left == 0 && lpRect->top == 0 && lpRect->right == 0 && lpRect->bottom == 0) 591 // 591 // DebugInt3(); 592 592 dprintf(("GDI32: GetClipBox of %X returned %d; (%d,%d)(%d,%d)", hdc, rc, lpRect->left, lpRect->top, lpRect->right, lpRect->bottom)); 593 593 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.