Update of /cvsroot/libwpg/libwpg/src/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18604/src/lib
Modified Files:
WPGSVGGenerator.cpp
Log Message:
small variation of condition
Index: WPGSVGGenerator.cpp
===================================================================
RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGSVGGenerator.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- WPGSVGGenerator.cpp 16 Jul 2008 14:10:59 -0000 1.15
+++ WPGSVGGenerator.cpp 16 Jul 2008 14:14:22 -0000 1.16
@@ -159,7 +159,7 @@
m_outputSink << "cx=\"" << doubleToString(72*center.x) << "\" cy=\"" << doubleToString(72*center.y) << "\" ";
m_outputSink << "rx=\"" << doubleToString(72*rx) << "\" ry=\"" << doubleToString(72*ry) << "\" ";
writeStyle();
- if (rotation > 0.0)
+ if (rotation != 0.0)
m_outputSink << " transform=\" translate(" << doubleToString(72*center.x) << ", " << doubleToString(72*center.y)
<< ") rotate(" << doubleToString(-rotation) << ") translate(" << doubleToString(-72*center.x) << ", " << doubleToString(-72*center.y)
<< ")\" ";
|