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
commit 3ecb41b7d9
Notes: sideshowbarker 2024-07-17 14:27:31 +09:00
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 {