1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 19:37:40 +00:00

svg:: circles now have better linewidth

This commit is contained in:
Zeno Rogue
2018-12-13 17:03:39 +01:00
parent 4d3f33deec
commit 8ba603fba3
4 changed files with 8 additions and 4 deletions

View File

@@ -1252,7 +1252,7 @@ void dqi_string::draw() {
void dqi_circle::draw() {
#if ISMOBILE==0
if(svg::in) {
svg::circle(x, y, size, color, fillcolor);
svg::circle(x, y, size, color, fillcolor, linewidth);
}
else
#endif
@@ -2777,6 +2777,7 @@ void queuecircle(int x, int y, int size, color_t color, PPR prio = PPR::CIRCLE,
ptd.size = size;
ptd.color = color;
ptd.fillcolor = fillcolor;
ptd.linewidth = vid.linewidth;
}
void getcoord0(const hyperpoint& h, int& xc, int &yc, int &sc) {