r18531 by jghali - #11761 follow up : fix another issue with transparency gradients and groups

scribus-commit scribus-commit at lists.scribus.net
Mon Oct 7 21:26:12 UTC 2013


Author: jghali
Date: Mon Oct  7 21:26:12 2013
New Revision: 18531

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18531
Log:
#11761 follow up : fix another issue with transparency gradients and groups

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18531&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Mon Oct  7 21:26:12 2013
@@ -5926,7 +5926,7 @@
 		QTransform mpa;
 		if (currItem->isGroup())
 		{
-			mpa.translate(currItem->xPos() - ActPageP->xOffset(), ActPageP->height() - (currItem->yPos() - ActPageP->yOffset()));
+			mpa.translate(currItem->xPos() - ActPageP->xOffset(), currItem->height());
 			mpa.rotate(-currItem->rotation());
 		}
 		else if (currItem->itemType() == PageItem::Symbol)
@@ -6075,7 +6075,7 @@
 		if (currItem->isGroup())
 		{
 			QTransform mpa;
-			mpa.translate(currItem->xPos() - ActPageP->xOffset(), ActPageP->height() - (currItem->yPos() - ActPageP->yOffset()));
+			mpa.translate(currItem->xPos() - ActPageP->xOffset(), currItem->height());
 			mpa.rotate(-currItem->rotation());
 			stre += FToStr(mpa.m11())+" "+FToStr(mpa.m12())+" "+FToStr(mpa.m21())+" "+FToStr(mpa.m22())+" "+FToStr(mpa.dx())+" "+FToStr(mpa.dy())+" cm\n";
 		}




More information about the scribus-commit mailing list