clay/renderers/win32_gdi
Philosoph228 b2bbdf8760
Implement accurate rectangle blending and rounding
The implementation works by handling special cases where rectangles have semi-transparent background colors or rounded corners. For these cases, it first copies the underlying image region from the window device context, blends the rectangle on top of this captured background, and then draws the final result back to the window DC because we can't access and modify window dc bits directly. Also this approach requires custom pixel processing for color blending and uses sqrtf for precise anti-aliased corners, which isn't ideal for performance. A `gdi_fabulous` flag is provided to toggle this feature when needed.
2025-03-25 09:47:04 +05:00
..
clay_renderer_gdi.c Implement accurate rectangle blending and rounding 2025-03-25 09:47:04 +05:00
README.md Update README 2025-03-13 09:21:09 +13:00

The windows GDI renderer example is missing the following:

  • Images
  • Rendering Rounded Rectangle borders
  • Custom Fonts (font size)