- Timestamp:
- Apr 1, 2000, 5:05:30 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r3235 r3292 1 /* $Id: dibsect.cpp,v 1.2 3 2000-03-25 12:19:07sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.24 2000-04-01 15:05:30 sandervl Exp $ */ 2 2 3 3 /* … … 403 403 nXsrc, nYsrc, nSrcWidth, nSrcHeight, Rop, fFlip)); 404 404 405 //win32 coordinates are of the left top, OS/2 expects left bottom 405 406 point[0].x = nXdest; 406 point[0].y = nYdest;407 point[0].y = pOS2bmp->cy - nYdest - nDestHeight; 407 408 point[1].x = nXdest + nDestWidth - 1; 408 point[1].y = nYdest + nDestHeight - 1;409 point[1].y = pOS2bmp->cy - nYdest - 1; 409 410 point[2].x = nXsrc; 410 point[2].y = nYsrc;411 point[2].y = pOS2bmp->cy - nYsrc - nSrcHeight; 411 412 if(nXsrc + nSrcWidth > pOS2bmp->cx) 412 413 { … … 421 422 } 422 423 else 423 point[3].y = nYsrc + nSrcHeight; 424 point[3].y = pOS2bmp->cy - nYsrc; 425 424 426 425 427 #if 1
Note:
See TracChangeset
for help on using the changeset viewer.