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

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None

    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. snapshot146.png
          snapshot146.png
          61 kB
        2. snapshot145.png
          snapshot145.png
          60 kB
        3. region.patch
          18 kB
        4. region_1.patch
          5 kB
        5. Picture2.jpg
          Picture2.jpg
          258 kB
        6. Picture1.jpg
          Picture1.jpg
          636 kB
        7. image-2024-05-19-17-21-31-460.png
          image-2024-05-19-17-21-31-460.png
          8 kB
        8. clover frankie.webm
          1.72 MB
        9. Clover.exe
          176 kB
        10. Clover.c
          4 kB
        11. Clover_New_Clipper.exe
          48 kB

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              vicmarcal vicmarcal
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: