Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (20 sloc) 0.661 kB
<html>
<head><script src="bootLeisure.js"></script></head>
<body leisureCode class="thin">
#@auto
do
require 'maps'
require 'svg'
circle nil
rect nil
text 'foopy' default-circle-map
polygon nil
svg-map = hash-from-list [ 'width', 200, 'height', 100 ]
svg (circle nil) svg-map
svg (rect nil) svg-map
svg (text 'testing SVG' nil) svg-map
decorate-text = hash-from-list [ 'x', 0, 'y', 80, 'stroke', 'black', 'stroke-width', 2, 'fill', 'blue', 'font-family', 'Impact', 'font-size', 40 ]
svg (text 'testing SVG' decorate-text) svg-map
svg (polygon nil) (merge-hash (hash-from-list [ 'width', 500, 'height', 350 ]) svg-map)
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.