Hi , the size of the anchor icons, handles and similar were always one pixel too small which resulted in a blurry image. This should be fixed but I am not sure why 1.0 was subtracted in the first place. Tim -- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany T: +49 (0) 911 74053-0 F: +49 (0) 911 74053-483 http://www.suse.de/
From 7411e0f0fd840d43a6fdc47bf9cbe76a984dd51e Mon Sep 17 00:00:00 2001
From: Tim Hardeck <thardeck@suse.com>
Date: Wed, 23 Nov 2011 18:33:54 +0100
Subject: [PATCH] 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 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/svx/source/sdr/overlay/overlaytools.cxx b/svx/source/sdr/overlay/overlaytools.cxx
index cdaea55..f431ff2 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;
--
1.7.3.4
Attachment:
signature.asc
Description: OpenPGP digital signature