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.
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