X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=svgtiny.c;h=2847af4f84c4d8222f3dfff8e50424e52eec6738;hb=307db5bbbc3b9c143aa99f61289dd39e65583c23;hp=ad2e8a5849577b839f78b6594ccf4aa7f5f948b8;hpb=6cf39ca675e80d5207c635394a0edc7b33ea9642;p=libsvgtiny.git diff --git a/svgtiny.c b/svgtiny.c index ad2e8a5..2847af4 100644 --- a/svgtiny.c +++ b/svgtiny.c @@ -1033,7 +1033,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 = state->stroke_width; + shape->stroke_width = state->stroke_width * + (state->ctm.a + state->ctm.d) / 2; return shape; }