Swapped stroke-width and stroke-color params, fixes #82

This commit is contained in:
Devine Lu Linvega
2019-07-28 06:15:49 +09:00
parent adec70791e
commit 38ee25ac2c
15 changed files with 24 additions and 24 deletions

View File

@@ -10,7 +10,7 @@
(circle
(mul 5 v)
(mul 5 v)
(mul 5 v)) 1 "red")
(mul 5 v)) "red" 1)
(rec
(sub v 5)))))
(rec 100)

View File

@@ -9,14 +9,14 @@
; draw circle
(stroke
(circle center-w center-h rad) 2 "white")
(circle center-w center-h rad) "white" 2)
; draw rect
(stroke
(rect
(sub center-w rad) (sub center-h rad) center-h center-h) 2 "white")
(sub center-w rad) (sub center-h rad) center-h center-h) "white" 2)
; draw line
(stroke
(line (sub center-w rad) center-h (add center-w rad) center-h))
(stroke (text 10 170 200 "HELL") 2 "pink")
(stroke (text 10 170 200 "HELL") "pink" 2)