1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

PDFViewer: Support a continuous page view mode

This commit is contained in:
Matthew Olsson 2022-03-29 21:27:17 -07:00 committed by Andreas Kling
parent 091c2cfdca
commit 3ecb41b7d9
5 changed files with 196 additions and 49 deletions

View file

@ -23,6 +23,9 @@ struct Rectangle {
float lower_left_y;
float upper_right_x;
float upper_right_y;
float width() const { return upper_right_x - lower_left_x; }
float height() const { return upper_right_y - lower_left_y; }
};
struct Page {