Fixing bugs - annotation rendering

This commit is contained in:
Jakub Melka
2020-03-07 19:20:07 +01:00
parent 0b2d94d115
commit e124ae9135
4 changed files with 66 additions and 7 deletions

View File

@ -37,6 +37,10 @@ public:
/// \param device Paint device to obtain logical DPI for scaling
static int scaleDPI_x(QPaintDevice* device, int unscaledSize);
/// Scale horizontal DPI value
/// \param device Paint device to obtain logical DPI for scaling
static PDFReal scaleDPI_x(QPaintDevice* device, PDFReal unscaledSize);
/// Scales widget based on DPI
/// \param widget Widget to be scaled
/// \param unscaledSize Unscaled size of the widget