r14345 by fschmid - Xara Importer: fixed incorrect orientation of shapes.

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 25 10:15:39 CET 2009


Revision: 14345
Author: fschmid
Date: 2009-11-24T23:57:42.109549Z
Commit message: Xara Importer: fixed incorrect orientation of shapes.

Changeset: 
M  /trunk/Scribus/scribus/plugins/xarimplugin/importxar.cpp

Diffs:
Index: scribus/plugins/xarimplugin/importxar.cpp
===================================================================
--- scribus/plugins/xarimplugin/importxar.cpp	(revision 14344)
+++ scribus/plugins/xarimplugin/importxar.cpp	(revision 14345)
@@ -740,7 +740,7 @@
 	if (flags & 1)
 		path.addEllipse(QPointF(0,0), w, h);
 	else
-		path = RegularPolygon(w * 2, h * 2, numSides, flags & 2, r1, 45, 0);
+		path = RegularPolygon(w * 2, h * 2, numSides, flags & 2, r1, 225, 0);
 	Coords.fromQPainterPath(path);
 	if (!(flags & 1))
 		Coords.translate(-w, -h);




More information about the scribus-commit mailing list