serenity
serenity copied to clipboard
LibPDF: Use `draw_rect()` to show debug clipping rects
Using the path rasterizer here is much slower than simply drawing four lines. This also more accurately shows the (real) clip as the bounding box is truncated to an int before adding it as a clip rect.
Fixes #23056