serenity icon indicating copy to clipboard operation
serenity copied to clipboard

LibPDF: Use `draw_rect()` to show debug clipping rects

Open MacDue opened this issue 1 year ago • 0 comments

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

MacDue avatar Jul 07 '24 13:07 MacDue