1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibPDF: Add debug settings for clipping paths and images

This commit is contained in:
Nico Weber 2024-01-16 20:45:12 -05:00 committed by Sam Atkins
parent 2d8a22f4b4
commit 1845a406ea
2 changed files with 10 additions and 3 deletions

View file

@ -90,6 +90,9 @@ struct RenderingPreferences {
bool show_clipping_paths { false };
bool show_images { true };
bool clip_paths { true };
bool clip_images { true };
unsigned hash() const
{
return static_cast<unsigned>(show_clipping_paths) | static_cast<unsigned>(show_images) << 1;