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

StretchBlt not working for some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.15
    • Component/s: Win32SS
    • Labels:
      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. ReactOS (patched test).png
          36 kB
          julenuri
        2. StretchBlt_ROS.jpg
          52 kB
          amber
        3. StretchBlt_XP.jpg
          67 kB
          amber

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: