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

StretchBlt not working for some cases

    XMLWordPrintable

Details

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

    Description

      I tested the StretchBlt for some cases: flip from top to bottom; flip from left to right; flip from top to bottom and from left to right.

      In StretchBlt works in the simplest case (source rect=destination rect):

      Case0:
      src=dest;

      This cases not worked:

      Case1:
      src=dest;
      src.Top=dest.Bottom;
      src.Bottom=0;

      Case2:
      src=dest;
      src.Left=dest.Right;
      src.Right=0;

      Case3:
      src=dest;
      src.Left=dest.Right;
      src.Right=0;
      src.Top=dest.Bottom;
      src.Bottom=0;

      In all cases, the aspect ratio of the image is preserved. But in ROS worked only Case0.

      Test program with source and test result ROS vs Windows attached.

      Attachments

        1. StretchBlt_XP.jpg
          StretchBlt_XP.jpg
          67 kB
        2. StretchBlt_test.zip
          252 kB
        3. StretchBlt_ROS.jpg
          StretchBlt_ROS.jpg
          52 kB
        4. ReactOS (patched test).png
          ReactOS (patched test).png
          36 kB

        Issue Links

          Activity

            People

              DougLyons DougLyons
              amber amber
              Votes:
              5 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: