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:
parent
d69e952729
commit
ca6ed2eff2
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user