mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 02:47:40 +00:00
fixed the svg shots of ellipses
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user