r20690 by fschmid -
scribus-commit
scribus-commit at lists.scribus.net
Sun Jan 17 10:51:20 UTC 2016
Author: fschmid
Date: Sun Jan 17 10:51:20 2016
New Revision: 20690
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20690
Log:
Fixed Bug #12250: SVG arrows not imported
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20690&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sun Jan 17 10:51:20 2016
@@ -15604,30 +15604,33 @@
SizeItem(item->width() * grScXi, item->height() * grScYi, item, false, true, false);
double nX = itPos.x();
double nY = itPos.y();
- if (itemTrans.m11() < 0)
- {
- nX -= item->width();
- if (item->isImageFrame() || item->isTextFrame() || item->isLatexFrame() || item->isOSGFrame() || item->isSymbol() || item->isGroup() || item->isSpiral())
- item->flipImageH();
- if (item->itemType() != PageItem::Line)
- {
- QTransform ma;
- ma.scale(-1, 1);
- item->PoLine.map(ma);
- item->PoLine.translate(item->width(), 0);
- }
- }
- if (itemTrans.m22() < 0)
- {
- nY -= item->height();
- if (item->isImageFrame() || item->isTextFrame() || item->isLatexFrame() || item->isOSGFrame() || item->isSymbol() || item->isGroup() || item->isSpiral())
- item->flipImageV();
- if (item->itemType() != PageItem::Line)
- {
- QTransform ma;
- ma.scale(1, -1);
- item->PoLine.map(ma);
- item->PoLine.translate(0, item->height());
+ if (gRot != 0)
+ {
+ if (itemTrans.m11() < 0)
+ {
+ nX -= item->width();
+ if (item->isImageFrame() || item->isTextFrame() || item->isLatexFrame() || item->isOSGFrame() || item->isSymbol() || item->isGroup() || item->isSpiral())
+ item->flipImageH();
+ if (item->itemType() != PageItem::Line)
+ {
+ QTransform ma;
+ ma.scale(-1, 1);
+ item->PoLine.map(ma);
+ item->PoLine.translate(item->width(), 0);
+ }
+ }
+ if (itemTrans.m22() < 0)
+ {
+ nY -= item->height();
+ if (item->isImageFrame() || item->isTextFrame() || item->isLatexFrame() || item->isOSGFrame() || item->isSymbol() || item->isGroup() || item->isSpiral())
+ item->flipImageV();
+ if (item->itemType() != PageItem::Line)
+ {
+ QTransform ma;
+ ma.scale(1, -1);
+ item->PoLine.map(ma);
+ item->PoLine.translate(0, item->height());
+ }
}
}
if (item->isTextFrame() || item->isPathText())
More information about the scribus-commit
mailing list