Added splash & add offset to SVG

This commit is contained in:
Devine Lu Linvega
2019-07-24 08:44:23 +09:00
parent 0d0ff88fe3
commit 2d3ab8eb3c
5 changed files with 52 additions and 10 deletions

View File

@@ -1,8 +1,20 @@
; welcome to ronin - v2.1
(clear)
; ronin path
(stroke
(svg "M60,60 L195,60 A45,45 0 0,1 240,105 A45,45 0 0,1 195,150 L60,150 M195,150 A45,45 0 0,1 240,195 L240,240 ") 2 "white")
(def align {:x
(sub
(of
(frame) :center) 500) :y
(sub
(of
(frame) :middle) 150)})
; outline
(fill
(svg
(of align :x)
(of align :y) "M15,15 L15,15 L285,15 L285,285 L15,285 Z") "#fff")
; stroke
(stroke
(svg "M15,15 L15,15 L285,15 L285,285 L15,285 Z") 1 "#555")
(svg
(of align :x)
(of align :y) "M60,60 L195,60 A45,45 0 0,1 240,105 A45,45 0 0,1 195,150 L60,150 M195,150 A45,45 0 0,1 240,195 L240,240 ") 5 "#000")