1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

fixed the svg shots of ellipses

This commit is contained in:
Zeno Rogue 2018-08-01 11:20:50 +02:00
parent 1b44899624
commit 8a231d8269

View File

@ -78,7 +78,7 @@ namespace svg {
fprintf(f, "<circle cx='%s' cy='%s' r='%s' %s/>\n",
coord(x), coord(y), coord(size), stylestr(ba, col));
else
fprintf(f, "<circle cx='%s' cy='%s' rx='%s' ry='%s' %s/>\n",
fprintf(f, "<ellipse cx='%s' cy='%s' rx='%s' ry='%s' %s/>\n",
coord(x), coord(y), coord(size), coord(size*vid.stretch), stylestr(ba, col));
}
}