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