1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 05:45:06 +00:00
serenity/Userland/Applications/PDFViewer
Marcus Nilsson eb97617ff0 PDFViewer: Add actions to rotate the displayed PDF
This implements the rotate cw/ccw actions in PDFViewer.
Since the rendered pages are stored in a HashMap for caching,
the bitmap is wrapped in a struct with the current rotation.
This way the caching works as expected while zooming, and a new bitmap
is rendered when the page is rotated.
2022-01-06 21:25:02 +01:00
..
CMakeLists.txt PDFViewer: Port to LibMain 2021-11-22 23:56:22 +01:00
main.cpp PDFViewer: Add a basic set of pledges 2021-12-25 10:58:30 +01:00
NumericInput.cpp PDFViewer: Add a toolbar 2021-05-25 00:24:09 +04:30
NumericInput.h Applications: Fix visibility of Object-derivative constructors 2021-11-02 22:56:53 +01:00
OutlineModel.cpp LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
OutlineModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
PDFViewer.cpp PDFViewer: Add actions to rotate the displayed PDF 2022-01-06 21:25:02 +01:00
PDFViewer.h PDFViewer: Add actions to rotate the displayed PDF 2022-01-06 21:25:02 +01:00
PDFViewerWidget.cpp PDFViewer: Add actions to rotate the displayed PDF 2022-01-06 21:25:02 +01:00
PDFViewerWidget.h PDFViewer: Add actions to rotate the displayed PDF 2022-01-06 21:25:02 +01:00
SidebarWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
SidebarWidget.h PDFViewer: Add a tab bar with outlines and thumbnails 2021-05-25 00:24:09 +04:30