r18668 by fschmid - Fixed ungrouping of Arc objects.

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 25 16:08:58 UTC 2013


Author: fschmid
Date: Wed Dec 25 16:08:58 2013
New Revision: 18668

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18668
Log:
Fixed ungrouping of Arc objects.

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18668&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Wed Dec 25 16:08:58 2013
@@ -15389,6 +15389,13 @@
 		item->maskTransform(psx, psy, pox, poy, prot, pskx, psky);
 		item->setMaskTransform(psx * grScXi, psy * grScYi, pox, poy, prot, pskx, psky);
 	}
+	if (item->isArc())
+	{
+		PageItem_Arc* ite = item->asArc();
+		ite->arcWidth = ite->arcWidth * grScXi;
+		ite->arcHeight = ite->arcHeight * grScYi;
+		ite->recalcPath();
+	}
 	if (item->asPathText())
 		item->updatePolyClip();
 	else




More information about the scribus-commit mailing list