fill/stroke style fix
This commit is contained in:
parent
d6f1056f2f
commit
34c035d4a5
2
svg.h
2
svg.h
@ -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],
|
||||||
|
Loading…
Reference in New Issue
Block a user