mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed the svg shots of ellipses
This commit is contained in:
parent
1b44899624
commit
8a231d8269
@ -78,7 +78,7 @@ namespace svg {
|
|||||||
fprintf(f, "<circle cx='%s' cy='%s' r='%s' %s/>\n",
|
fprintf(f, "<circle cx='%s' cy='%s' r='%s' %s/>\n",
|
||||||
coord(x), coord(y), coord(size), stylestr(ba, col));
|
coord(x), coord(y), coord(size), stylestr(ba, col));
|
||||||
else
|
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));
|
coord(x), coord(y), coord(size), coord(size*vid.stretch), stylestr(ba, col));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user