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