New feature: rotating pages in viewer

This commit is contained in:
Jakub Melka
2020-02-01 17:28:02 +01:00
parent af83f99f51
commit efca4a3cde
10 changed files with 356 additions and 34 deletions

View File

@ -121,6 +121,11 @@ QRectF PDFPage::getRotatedMediaBox() const
return getRotatedBox(getMediaBox(), getPageRotation());
}
QRectF PDFPage::getRotatedMediaBoxMM() const
{
return getRotatedBox(getMediaBoxMM(), getPageRotation());
}
QRectF PDFPage::getRotatedCropBox() const
{
return getRotatedBox(getCropBox(), getPageRotation());