mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
PDFViewer: Support a continuous page view mode
This commit is contained in:
parent
091c2cfdca
commit
3ecb41b7d9
Notes:
sideshowbarker
2024-07-17 14:27:31 +09:00
Author: https://github.com/mattco98
Commit: 3ecb41b7d9
Pull-request: https://github.com/SerenityOS/serenity/pull/13394
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/nico
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