found out about non-scaling-stroke

This commit is contained in:
William Ball 2022-04-23 22:14:26 -04:00
parent 1a8011390c
commit 546e3b55d4

View file

@ -33,7 +33,7 @@ impl Task for PictureTask {
self.svg.push_str(
format!(
"<circle cx=\"{}\" cy=\"{}\" r=\"{}\" fill=\"none\" stroke=\"black\"/>\n",
"<circle cx=\"{}\" cy=\"{}\" r=\"{}\" fill=\"none\" stroke=\"black\" vector-effect=\"non-scaling-stroke\"/>\n",
cx, cy, r
)
.as_str(),