From 616db52655b65201e60f53deb3a063b0fdd7cc6b Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Wed, 23 Nov 2011 18:33:54 +0100 Subject: 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. --- svx/source/sdr/overlay/overlaytools.cxx | 4 ++-- 1 file 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; -- cgit