diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-02-06 16:12:40 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-02-06 16:29:44 +0100 |
commit | 4db617efd924ad7ff4ce6988771ad36612c329ec (patch) | |
tree | 305ee0ad12f6de9516fda3c1b9893e5b00aec9c9 /basegfx | |
parent | RtfSdrExport::StartShape: replace "75" (diff) | |
download | core-4db617efd924ad7ff4ce6988771ad36612c329ec.tar.gz core-4db617efd924ad7ff4ce6988771ad36612c329ec.zip |
Change the zoom factor to 2^(1/6), hopefully it fits all :-)
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/tools/zoomtools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/tools/zoomtools.cxx b/basegfx/source/tools/zoomtools.cxx index c6c8044c5953..89ea0ccf07ab 100644 --- a/basegfx/source/tools/zoomtools.cxx +++ b/basegfx/source/tools/zoomtools.cxx @@ -33,12 +33,12 @@ namespace basegfx namespace zoomtools { -/** 2^(1/4) as the default step +/** 2^(1/6) as the default step - This ensures (unless the rounding is used) that 4 steps lead + This ensures (unless the rounding is used) that 6 steps lead to double / half zoom level. */ -const double ZOOM_FACTOR = 1.1892071150027210667175; +const double ZOOM_FACTOR = 1.12246205; /** * Round a value against a specified multiple. Values below half |