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

        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: