Changeset 3356 for trunk/src/gdi32/dibsect.cpp
- Timestamp:
- Apr 9, 2000, 1:10:34 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r3302 r3356 1 /* $Id: dibsect.cpp,v 1.2 5 2000-04-02 12:24:40sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.26 2000-04-09 11:10:34 sandervl Exp $ */ 2 2 3 3 /* … … 385 385 int oldyinversion = 0; 386 386 387 #if 0 387 388 HWND hwndDest = WindowFromDC(hdcDest); 388 389 hwndDest = Win32ToOS2Handle(hwndDest); … … 396 397 return(FALSE); 397 398 } 399 #endif 398 400 399 401 dprintf(("DIBSection::BitBlt %x %X (hps %x) %x to(%d,%d)(%d,%d) from (%d,%d)(%d,%d) rop %x flip %x", 400 handle, hdcDest, hps, hwndDest, nXdest, nYdest, nDestWidth, nDestHeight, 402 // handle, hdcDest, hps, hwndDest, nXdest, nYdest, nDestWidth, nDestHeight, 403 handle, hdcDest, hps, 0, nXdest, nYdest, nDestWidth, nDestHeight, 401 404 nXsrc, nYsrc, nSrcWidth, nSrcHeight, Rop, fFlip)); 402 405 … … 425 428 if(fFlip & FLIP_VERT) 426 429 { 427 GpiEnableYInversion(hps, nDestHeight-1);430 GpiEnableYInversion(hps, pOS2bmp->cy-1); 428 431 } 429 432 else GpiEnableYInversion(hps, 0); … … 469 472 //restore old y inversion height 470 473 GpiEnableYInversion(hps, oldyinversion); 471 if(hwndDest != 0)472 473 WinReleasePS(hps);474 }474 // if(hwndDest != 0) 475 // { 476 // WinReleasePS(hps); 477 // } 475 478 return(TRUE); 476 479 } 477 480 GpiEnableYInversion(hps, oldyinversion); 478 if(hwndDest != 0)479 {480 WinReleasePS(hps);481 }481 // if(hwndDest != 0) 482 // { 483 // WinReleasePS(hps); 484 // } 482 485 dprintf(("DIBSection::BitBlt %X (%d,%d) (%d,%d) to (%d,%d) (%d,%d) returned %d\n", hps, point[0].x, point[0].y, point[1].x, point[1].y, point[2].x, point[2].y, point[3].x, point[3].y, rc)); 483 dprintf(("WinGetLastError returned %X\n", WinGetLastError(WinQueryAnchorBlock(hwndDest)) & 0xFFFF));486 // dprintf(("WinGetLastError returned %X\n", WinGetLastError(WinQueryAnchorBlock(hwndDest)) & 0xFFFF)); 484 487 return(FALSE); 485 488 }
Note:
See TracChangeset
for help on using the changeset viewer.