sc lok: cope with non 100% zoom better

Desktop / LibreOffice - Michael Meeks [collabora.com] - 6 November 2019 00:19 EST

Do the tile rendering and alignment ourselves. More work required to get cleaner conversion between view and document twips (view twips being rounded to produce nice round pixel sizes when re-converted).

Change-Id: I51edb186cfd2dc434005cc074f4ed8de19c85cb3 Reviewed-on: https://gerrit.libreoffice.org/82092

05b72d7dc260 sc lok: cope with non 100% zoom better.
sc/source/ui/inc/viewdata.hxx | 4 +++-
sc/source/ui/view/gridwin4.cxx | 3 +--
sc/source/ui/view/tabview.cxx | 39 ++++++++++++++++++++-------------------
sc/source/ui/view/viewdata.cxx | 24 ++++++++++++------------
4 files changed, 36 insertions(+), 34 deletions(-)

Upstream: cgit.freedesktop.org


  • Share