Screenshot tool - finishing, fixing bugs

This commit is contained in:
Jakub Melka
2020-02-29 11:25:23 +01:00
parent 13bfbd7095
commit 9de47cc183
6 changed files with 28 additions and 13 deletions

View File

@ -244,7 +244,8 @@ public:
/// Rectangle is space in the widget, which is used for painting the PDF.
/// \param painter Painter to paint the PDF pages
/// \param rect Rectangle in which the content is painted
void drawPages(QPainter* painter, QRect rect);
/// \param features Rendering features
void drawPages(QPainter* painter, QRect rect, PDFRenderer::Features features);
/// Draws thumbnail image of the given size (so larger of the page size
/// width or height equals to pixel size and the latter size is rescaled