From: James Bursa Date: Sun, 4 May 2008 00:24:50 +0000 (-0000) Subject: Fix stroke widths. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;ds=inline;h=b6577ce0521d790dbcb76ef6f1a698a6d9837c06;p=libsvgtiny.git Fix stroke widths. svn path=/trunk/libsvgtiny/; revision=4121 --- 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; }