r18592 by fschmid - Fixed incorrect pattern scaling when ungrouping.
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 18 19:40:37 UTC 2013
Author: fschmid
Date: Mon Nov 18 19:40:37 2013
New Revision: 18592
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18592
Log:
Fixed incorrect pattern scaling when ungrouping.
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18592&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Mon Nov 18 19:40:37 2013
@@ -15367,6 +15367,18 @@
item->setImageXScale(item->imageXScale() * grScXi);
item->setImageYScale(item->imageYScale() * grScYi);
}
+ if (item->GrType == 8)
+ {
+ double psx, psy, pox, poy, prot, pskx, psky;
+ item->patternTransform(psx, psy, pox, poy, prot, pskx, psky);
+ item->setPatternTransform(psx * grScXi, psy * grScYi, pox, poy, prot, pskx, psky);
+ }
+ if ((item->GrMask == 3) || (item->GrMask == 6) || (item->GrMask == 7) || (item->GrMask == 8))
+ {
+ double psx, psy, pox, poy, prot, pskx, psky;
+ item->maskTransform(psx, psy, pox, poy, prot, pskx, psky);
+ item->setMaskTransform(psx * grScXi, psy * grScYi, pox, poy, prot, pskx, psky);
+ }
if (item->asPathText())
item->updatePolyClip();
else
More information about the scribus-commit
mailing list