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

        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: