summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de (CIB)>2018-03-30 13:02:02 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2018-04-02 11:34:47 +0200
commitd51bc7b3813ccbdf41a50664d41b2fa3d25c6954 (patch)
tree0f2e2f92f20f4f7ff6ce3b7e3af6aa62dff00726 /ios
parent7571d0f84c07b4b49e1db225a64787e6bcc582b5 (diff)
PrintPreviewWindow dynamic preview Bitmap
The PrintDialog includes a preview (PrintPreviewWindow) that currently used a fixed-pixel-size preview that takes the aspect ratio into account (which may already explode due to just growing vertically - try a much higher than wide page). It is not dynamic and by using the high-quality scale (BmpScaleFlag::BestQuality) for output it can get rather slow in repainting. Also holds the VDev for creating the preview all the time without need. Made that process dynamic and responding to real resizing, thus not using that huge number of pixels from the start. Also use a VDev only temporary and use intelligent size management. Still keeping the high-quality scale due to ::DrawBitmap with a target size not scaling well (still) and also ::DrawOutDev not good in quality. Those two should work better nowadays, but adaption would be risky. Change-Id: I211412a063def33a4e8f40c7442702770cd11a8e Reviewed-on: https://gerrit.libreoffice.org/52150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'ios')
0 files changed, 0 insertions, 0 deletions