1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00

PDFViewer: Add Debug menu entries for disabling clipping

This commit is contained in:
Nico Weber 2024-01-21 08:54:03 -05:00 committed by Tim Flynn
parent 9703510682
commit d9267a388d
3 changed files with 45 additions and 0 deletions

View file

@ -66,6 +66,12 @@ public:
void set_show_clipping_paths(bool);
bool show_images() const { return m_rendering_preferences.show_images; }
void set_show_images(bool);
bool clip_images() const { return m_rendering_preferences.clip_images; }
void set_clip_images(bool);
bool clip_paths() const { return m_rendering_preferences.clip_paths; }
void set_clip_paths(bool);
bool clip_text() const { return m_rendering_preferences.clip_text; }
void set_clip_text(bool);
protected:
PDFViewer();