Ignore:
Timestamp:
May 12, 2000, 9:14:56 PM (25 years ago)
Author:
sandervl
Message:

manual flipping of dibsection images

File:
1 edited

Legend:

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

    r3418 r3527  
    1 /* $Id: blit.cpp,v 1.10 2000-04-18 11:11:52 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.11 2000-05-12 19:14:55 sandervl Exp $ */
    22
    33/*
     
    2828//******************************************************************************
    2929BOOL WIN32API StretchBlt(HDC hdcDest, int nXOriginDest, int nYOriginDest,
    30                             int nWidthDest, int nHeightDest,
    31                             HDC hdcSrc, int nXOriginSrc, int nYOriginSrc,
    32                             int nWidthSrc, int nHeightSrc, DWORD dwRop)
     30                         int nWidthDest, int nHeightDest,
     31                         HDC hdcSrc, int nXOriginSrc, int nYOriginSrc,
     32                         int nWidthSrc, int nHeightSrc, DWORD dwRop)
    3333{
    3434 BOOL rc;
     
    155155    result = O32_SetDIBitsToDevice(hdc, xDest, yDest, cx, cy, xSrc, ySrc, startscan, lines, (PVOID) bits, (PBITMAPINFO)info, coloruse);
    156156    //SvL: Wrong Open32 return value
    157     result = (result == TRUE) ? lines : 0;
     157//    result = (result == TRUE) ? lines : 0;
     158    result = (result == TRUE) ? cy : 0;
    158159
    159160    dprintf(("GDI32: SetDIBitsToDevice hdc:%X xDest:%d yDest:%d, cx:%d, cy:%d, xSrc:%d, ySrc:%d, startscan:%d, lines:%d \nGDI32: bits 0x%X, info 0x%X, coloruse %d returned %d",
Note: See TracChangeset for help on using the changeset viewer.