1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-02 20:29:17 +00:00

svg:: fixed circles

This commit is contained in:
Zeno Rogue 2018-11-09 20:50:08 +01:00
parent d69e952729
commit ca6ed2eff2

View File

@ -72,7 +72,7 @@ namespace svg {
} }
void circle(int x, int y, int size, color_t col, color_t fillcol) { void circle(int x, int y, int size, color_t col, color_t fillcol) {
if(!invisible(col) && !invisible(fillcol)) { if(!invisible(col) || !invisible(fillcol)) {
if(vid.stretch == 1) if(vid.stretch == 1)
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(fillcol, col)); coord(x), coord(y), coord(size), stylestr(fillcol, col));