summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hardeck <thardeck@suse.com>2011-11-23 18:33:54 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-11-24 15:26:44 +0100
commit616db52655b65201e60f53deb3a063b0fdd7cc6b (patch)
tree74df1ab4308631728fbd5dde51866bce40ce3aed
parent3b84379b0687bb8d48b08094a42d90e316ea541b (diff)
Fixed wrong scaling of the anchor icons
The size of the anchor icons, handles and similar were always one pixel too small which resulted in a blurry image.
-rw-r--r--svx/source/sdr/overlay/overlaytools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/overlay/overlaytools.cxx b/svx/source/sdr/overlay/overlaytools.cxx
index cdaea55bb61a..f431ff2823c9 100644
--- a/svx/source/sdr/overlay/overlaytools.cxx
+++ b/svx/source/sdr/overlay/overlaytools.cxx
@@ -72,8 +72,8 @@ namespace drawinglayer
// and unrotated, more like a marker
const double fLeft(((0.0 - getCenterX()) * getDiscreteUnit()) + getBasePosition().getX());
const double fTop(((0.0 - getCenterY()) * getDiscreteUnit()) + getBasePosition().getY());
- const double fRight((((aBitmapSize.getWidth() - 1.0) - getCenterX()) * getDiscreteUnit()) + getBasePosition().getX());
- const double fBottom((((aBitmapSize.getHeight() - 1.0) - getCenterY()) * getDiscreteUnit()) + getBasePosition().getY());
+ const double fRight(((aBitmapSize.getWidth() - getCenterX()) * getDiscreteUnit()) + getBasePosition().getX());
+ const double fBottom(((aBitmapSize.getHeight() - getCenterY()) * getDiscreteUnit()) + getBasePosition().getY());
// create a BitmapPrimitive2D using those positions
basegfx::B2DHomMatrix aTransform;