- Timestamp:
- Dec 4, 2002, 11:24:02 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/region.cpp
r9429 r9456 1 /* $Id: region.cpp,v 1.3 0 2002-11-26 10:53:12 sandervl Exp $ */1 /* $Id: region.cpp,v 1.31 2002-12-04 10:24:02 sandervl Exp $ */ 2 2 3 3 /* … … 58 58 59 59 HPS hpsRegion = 0; 60 61 62 #ifdef DEBUG 63 //#define dprintfRegion(a,b,c) if(DbgEnabledLvl2GDI32[DBG_LOCALLOG] == 1) dprintfRegion1(a,b,c) 64 //#define dprintfRegion(a,b,c) dprintfRegion1(a,b,c) 65 66 void dprintfRegion(HPS hps, HRGN hrgnClip) 67 { 68 RGNRECT rgnRect = {0, 16, 0, RECTDIR_LFRT_TOPBOT}; 69 RECTL rectRegion[16]; 70 APIRET rc; 71 72 dprintf(("dprintfRegion %x", hps)); 73 rc = GpiQueryRegionRects(hps, hrgnClip, NULL, &rgnRect, &rectRegion[0]); 74 for(int i=0;i<rgnRect.crcReturned;i++) { 75 dprintf(("(%d,%d)(%d,%d)", rectRegion[i].xLeft, rectRegion[i].yBottom, rectRegion[i].xRight, rectRegion[i].yTop)); 76 } 77 } 78 #else 79 #define dprintfRegion(a,c) 80 #endif 60 81 61 82 //****************************************************************************** … … 1465 1486 interpretRegionAs(pHps, NULL, hrgn, AS_WORLD); 1466 1487 1488 dprintfRegion(pHps->hps, pHps->hrgnHDC); 1489 1467 1490 success = GpiPaintRegion(pHps->hps, pHps->hrgnHDC); 1468 1491
Note:
See TracChangeset
for help on using the changeset viewer.