summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tagwidget.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-08-07 11:43:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-03 11:46:17 -0700
commitc6fa41588067b3c9787ded63207014ee5ae4d2d8 (patch)
treec00172a7e7b5401db4ea4a566870eba893410ecc /desktop-widgets/tagwidget.h
parent8f6d05414050a52209556576816ec10cc041e547 (diff)
downloadsubsurface-c6fa41588067b3c9787ded63207014ee5ae4d2d8.tar.gz
Improve resolution of profile export
The way we export the profile image (as direct export but also used for printing) is that we render the profile from the screen to a Pixmap and save that to a file. Unfortunately this results in very bad resultion and a blurred image. This is an attempt to improve that situation but it's still far from perfect: Rather than a QPixmap and grab, I now use a QImage (where I can set the size) and render, and indeed the picture resolution (when vied at fixed size) get's better this way. The disadvantage is that icons get smaller at the same rate und so there is a natural limit on how big we can get. Maybe somebody with better Qt knowledge can take off from here. In my opinion this is already a step in the right direction. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tagwidget.h')
0 files changed, 0 insertions, 0 deletions