lifelike/hexmapextension

Big center dots

Closed this issue · 1 comments

I created hex grid with 5mm, but the center dots are a little to big:
hexdots

Maybe use the stroke size for the dot size?

The circle radii are based on stroke-width (CENTERDOT_SIZE_FACTOR = 1.1690625). At least that is the theory. It looks as if they might be a bit bigger than that really. Maybe the circles also have a stroke added around them, so that the total diameter is more than four times the stroke-width? That looks like what is seen in that image.

EDIT: Nope. It looks correct now that the stroke-width is properly calculated. The old variant was a bit suspicious. It probably did not work reliably in recent Inkscape versions due to dpi changes and the way user-units are treated now. But the updated code should be correct.