diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-07-15 17:04:20 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-07-15 17:04:20 +0200 |
commit | d5446cabf8f574d6a3754379e691ad5d7779cd8d (patch) | |
tree | 68180969d265546af88f755c3920ded26f425653 /writerperfect | |
parent | Bounding box algorithm needs angle in radians (diff) | |
download | core-d5446cabf8f574d6a3754379e691ad5d7779cd8d.tar.gz core-d5446cabf8f574d6a3754379e691ad5d7779cd8d.zip |
Fix a bug in bounding box computing
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/OdgGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx index 1d073a387e19..8269c0a1c9bd 100644 --- a/writerperfect/source/filter/OdgGenerator.cxx +++ b/writerperfect/source/filter/OdgGenerator.cxx @@ -792,7 +792,7 @@ void OdgGeneratorPrivate::_drawPath(const WPXPropertyListVector& path) double xmin, xmax, ymin, ymax; getEllipticalArcBBox(lastX, lastY, path[k]["svg:rx"]->getDouble(), path[k]["svg:ry"]->getDouble(), - 2.0*M_PI*(path[k]["libwpg:rotate"] ? path[k]["libwpg:rotate"]->getDouble() : 0.0), + path[k]["libwpg:rotate"] ? path[k]["libwpg:rotate"]->getDouble() : 0.0, path[k]["libwpg:large-arc"] ? path[k]["libwpg:large-arc"]->getInt() : 1, path[k]["libwpg:sweep"] ? path[k]["libwpg:sweep"]->getInt() : 1, path[k]["svg:x"]->getDouble(), path[k]["svg:y"]->getDouble(), xmin, ymin, xmax, ymax); |