diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-10-09 09:06:21 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-10-09 09:06:21 +0000 |
| commit | 0dc05429417f53ea871f40505f65de97480d71a3 (patch) | |
| tree | f4d94845612c151cf5fdc0f9d07b48c36698e9b7 /src/viewbox.cpp | |
| parent | avoid round-off error when calculating viewbox transform c2p (Bug 1374614 and... (diff) | |
| download | inkscape-0dc05429417f53ea871f40505f65de97480d71a3.tar.gz inkscape-0dc05429417f53ea871f40505f65de97480d71a3.zip | |
Add comment.
(bzr r13582)
Diffstat (limited to 'src/viewbox.cpp')
| -rw-r--r-- | src/viewbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/viewbox.cpp b/src/viewbox.cpp index 6d677d57d..662b05686 100644 --- a/src/viewbox.cpp +++ b/src/viewbox.cpp @@ -164,6 +164,7 @@ void SPViewBox::set_preserveAspectRatio(const gchar* value) { void SPViewBox::apply_viewbox(const Geom::Rect& in) { /* Determine actual viewbox in viewport coordinates */ + /* These are floats since SVGLength is a float: See bug 1374614 */ float x = 0.0; float y = 0.0; float width = in.width(); |
