[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/pathshapes/enhancedpath
From: Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date: 2010-09-23 23:15:19
Message-ID: 20100923231519.D10BBAC88C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1178813 by mkruisselbrink:
simplify code
M +1 -3 EnhancedPathShape.cpp
--- trunk/koffice/plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp \
#1178812:1178813 @@ -445,10 +445,8 @@
QPointF pos;
pos.setX(KoUnit::parseValue(element.attributeNS(KoXmlNS::svg, "x", QString())));
pos.setY(KoUnit::parseValue(element.attributeNS(KoXmlNS::svg, "y", QString())));
- setPosition(pos);
+ setPosition(pos - m_viewMatrix.map(QPointF(0, 0)) - m_viewBoxOffset);
- setPosition(position() - m_viewMatrix.map(QPointF(0, 0)) - m_viewBoxOffset);
-
loadOdfAttributes(element, context, OdfMandatories | OdfTransformation | \
OdfAdditionalAttributes | OdfCommonChildElements);
KoTextOnShapeContainer::tryWrapShape(this, element, context);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic