Improve rounded rect intersection
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 May 2023 13:52:46 +0000 (09:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 May 2023 17:45:20 +0000 (13:45 -0400)
commite453a989dfc211f7c5fbf1873b7d90324e7805cc
tree021c79439f1155ec1f1ad3d438610c6dc4b38af5
parentf56328a6cc3cb1f2fb8a2692eedc6dd0db4f44c8
Improve rounded rect intersection

Move the rounded rect/rect intersection code to
gskroundedrect.c, make it more precise, and add
tests for it.

Update the callers in the GL renderer.
gsk/gl/gskglrenderjob.c
gsk/gskroundedrect.c
gsk/gskroundedrectprivate.h
testsuite/gsk/rounded-rect.c