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

Clover.exe: CombineRgn seems to not create a clipping region correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Clover.exe: Testcase and C code attached from Petzold's cd examples.
      Code is as simpler as possible:

      • CombineRgn which combines CreateRectRgn and CreateEllipticRgn
      • After combining, rays are traced starting from middle of the window outwards clipped by such region
        Picture1.jpg compares ReactOS vs Windows testcase.
        Some hints:
        Picture2.jpg shows what happens when the Clover.exe window is resized. As you resize the window, making it smaller, you can see how it starts to look similar to Windows expected behavior. Clipping region as the width and height changes seems to be miscalculated.
        Tested in 1001-g0c4d21a iso

      https://www.codeproject.com/Articles/2095/A-Guide-to-WIN32-Clipping-Regions

        Attachments

        1. Clover_New_Clipper.exe
          48 kB
        2. Clover.c
          4 kB
        3. Clover.exe
          176 kB
        4. Picture1.jpg
          Picture1.jpg
          636 kB
        5. Picture2.jpg
          Picture2.jpg
          258 kB
        6. region_1.patch
          5 kB
        7. region.patch
          18 kB
        8. snapshot145.png
          snapshot145.png
          60 kB
        9. snapshot146.png
          snapshot146.png
          61 kB

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                vicmarcal vicmarcal
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: