summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2008-05-04 00:24:50 (GMT)
committer James Bursa <james@netsurf-browser.org>2008-05-04 00:24:50 (GMT)
commitb6577ce0521d790dbcb76ef6f1a698a6d9837c06 (patch)
tree8e8a10935ad1e9b0500b2b208a7d3c553b8b7027
parentd4082a8c817780c366bd8bfdad135976ead80f50 (diff)
downloadlibsvgtiny-b6577ce0521d790dbcb76ef6f1a698a6d9837c06.tar.gz
libsvgtiny-b6577ce0521d790dbcb76ef6f1a698a6d9837c06.tar.bz2
Fix stroke widths.
svn path=/trunk/libsvgtiny/; revision=4121
-rw-r--r--svgtiny.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svgtiny.c b/svgtiny.c
index 10635ac..ab6b6dd 100644
--- a/svgtiny.c
+++ b/svgtiny.c
@@ -1014,8 +1014,8 @@ struct svgtiny_shape *svgtiny_add_shape(struct svgtiny_parse_state *state)
shape->text = 0;
shape->fill = state->fill;
shape->stroke = state->stroke;
- shape->stroke_width = 1; /*state->stroke_width *
- (state->ctm.a + state->ctm.d) / 2;*/
+ shape->stroke_width = state->stroke_width *
+ (state->ctm.a + state->ctm.d) / 2;
return shape;
}