summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-08-15 20:38:20 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-08-15 20:38:20 +0000
commit1f8f2ee3fe058a03b06f24dda950795f2639be6c (patch)
tree250f9fb20225f736ea3d3f5b287870d36fbb0c1f /src
parentmerge from trunk (r12380) (diff)
downloadinkscape-1f8f2ee3fe058a03b06f24dda950795f2639be6c.tar.gz
inkscape-1f8f2ee3fe058a03b06f24dda950795f2639be6c.zip
patch of David Mathog in bugtread 988601 comment 186
(bzr r11668.1.73)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-inout.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp
index c14393cc2..7dc0ee314 100644
--- a/src/extension/internal/emf-inout.cpp
+++ b/src/extension/internal/emf-inout.cpp
@@ -2705,9 +2705,8 @@ std::cout << "BEFORE DRAW"
int f1;
int f2 = (d->arcdir == U_AD_COUNTERCLOCKWISE ? 0 : 1);
if(!emr_arc_points( lpEMFR, &f1, f2, &center, &start, &end, &size)){
- // draw a line from current position to start
+ // draw a line from current position to start, arc from there
tmp_path << "\n\tL " << pix_to_xy(d, start.x, start.y);
- tmp_path << "\n\tM " << pix_to_xy(d, start.x, start.y);
tmp_path << " A " << pix_to_abs_size(d, size.x)/2.0 << "," << pix_to_abs_size(d, size.y)/2.0 ;
tmp_path << " ";
tmp_path << 180.0 * current_rotation(d)/M_PI;