Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16642

StretchBlt won't do mirroring

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • Win32SS
    • None

    Description

      https://stackoverflow.com/questions/16840312/stretchblt-doesnt-create-a-mirror-image

      StretchBlt(pdc, 0, h, w, -h, dc, 0, 0, w, h, SRCCOPY);
      must do mirroring (flip vertically).

      StretchBlt creates a mirror image of a bitmap if the signs of the nWidthSrc and nWidthDest parameters or if the nHeightSrc and nHeightDest parameters differ. 
      

      Attachments

        1. Wine-MirrorTest.png
          Wine-MirrorTest.png
          6 kB
        2. stretchblt74.patch
          142 kB
        3. SetupStretchBlt632.exe
          1.47 MB
        4. ReactOS Test.png
          ReactOS Test.png
          29 kB
        5. ReactOS-15-2045sb-fix.webm
          4.31 MB
        6. ReactOS-15-2045Original.webm
          2.79 MB
        7. MirrorTest-WinXP.png
          MirrorTest-WinXP.png
          36 kB
        8. MirrorTest-Win2k3.png
          MirrorTest-Win2k3.png
          25 kB
        9. MirrorTest-Win10.png
          MirrorTest-Win10.png
          4 kB
        10. MirrorTest-before.png
          MirrorTest-before.png
          32 kB
        11. MirrorTest30.zip
          20 kB
        12. MirrorTest30.png
          MirrorTest30.png
          16 kB
        13. MirrorTest30.exe
          47 kB
        14. MirrorTest30.exe
          34 kB
        15. MirrorTest.zip
          26 kB

        Issue Links

          Activity

            People

              DougLyons DougLyons
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: