diff options
author | Tim Hardeck <thardeck@suse.com> | 2011-11-23 18:33:54 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-11-24 15:26:44 +0100 |
commit | 616db52655b65201e60f53deb3a063b0fdd7cc6b (patch) | |
tree | 74df1ab4308631728fbd5dde51866bce40ce3aed /svx/source | |
parent | 3b84379b0687bb8d48b08094a42d90e316ea541b (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.
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sdr/overlay/overlaytools.cxx | 4 |
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; |