mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
PDFViewer: Support a continuous page view mode
This commit is contained in:
parent
091c2cfdca
commit
3ecb41b7d9
5 changed files with 196 additions and 49 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue