add a viewbox to the svg that has the whole drawing in frame

This commit is contained in:
2025-10-24 16:31:25 +02:00
parent e6bc79ea7b
commit ea5bb85e88
2 changed files with 109 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ async fn main() {
.right(90.0)
.forward(100.0)
.set_pen_color(macroquad::color::GRAY)
.set_pen_width(8.0)
.circle_right(50.0, 90.0, 4)
.begin_fill()
.forward(100.0)