fill/stroke style fix

This commit is contained in:
Trammell hudson 2018-03-03 18:24:21 -05:00
parent d6f1056f2f
commit 34c035d4a5
Failed to extract signature
1 changed files with 1 additions and 1 deletions

2
svg.h
View File

@ -10,7 +10,7 @@ svg_line(
) )
{ {
// invert the sense of y // invert the sense of y
printf("<line x1=\"%fpx\" y1=\"%fpx\" x2=\"%fpx\" y2=\"%fpx\" stroke=\"%s\" stroke-width=\"%.1fpx\"/>\n", printf("<line x1=\"%fpx\" y1=\"%fpx\" x2=\"%fpx\" y2=\"%fpx\" style=\"stroke:%s;stroke-width=%.1f;fill:none\"/>\n",
p1[0], p1[0],
-p1[1], -p1[1],
p2[0], p2[0],