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

        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: