Changeset 3292 for trunk/src


Ignore:
Timestamp:
Apr 1, 2000, 5:05:30 PM (25 years ago)
Author:
sandervl
Message:

fixed dibsection bitblit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/dibsect.cpp

    r3235 r3292  
    1 /* $Id: dibsect.cpp,v 1.23 2000-03-25 12:19:07 sandervl Exp $ */
     1/* $Id: dibsect.cpp,v 1.24 2000-04-01 15:05:30 sandervl Exp $ */
    22
    33/*
     
    403403          nXsrc, nYsrc, nSrcWidth, nSrcHeight, Rop, fFlip));
    404404
     405  //win32 coordinates are of the left top, OS/2 expects left bottom
    405406  point[0].x = nXdest;
    406   point[0].y = nYdest;
     407  point[0].y = pOS2bmp->cy - nYdest - nDestHeight;
    407408  point[1].x = nXdest + nDestWidth - 1;
    408   point[1].y = nYdest + nDestHeight - 1;
     409  point[1].y = pOS2bmp->cy - nYdest - 1;
    409410  point[2].x = nXsrc;
    410   point[2].y = nYsrc;
     411  point[2].y = pOS2bmp->cy - nYsrc - nSrcHeight;
    411412  if(nXsrc + nSrcWidth > pOS2bmp->cx)
    412413  {
     
    421422  }
    422423  else
    423     point[3].y = nYsrc + nSrcHeight;
     424    point[3].y = pOS2bmp->cy - nYsrc;
     425
    424426
    425427#if 1
Note: See TracChangeset for help on using the changeset viewer.