3 function icon
.insert_drawing(button_params
)
4 local x
,y
= button_params
.x
, button_params
.y
6 love
.graphics
.rectangle('line', x
,y
, 12,12)
7 love
.graphics
.line(4,y
+6, 16,y
+6)
8 love
.graphics
.line(10,y
, 10,y
+12)
11 function icon
.freehand(x
, y
)
12 love
.graphics
.line(x
+4,y
+7,x
+5,y
+5)
13 love
.graphics
.line(x
+5,y
+5,x
+7,y
+4)
14 love
.graphics
.line(x
+7,y
+4,x
+9,y
+3)
15 love
.graphics
.line(x
+9,y
+3,x
+10,y
+5)
16 love
.graphics
.line(x
+10,y
+5,x
+12,y
+6)
17 love
.graphics
.line(x
+12,y
+6,x
+13,y
+8)
18 love
.graphics
.line(x
+13,y
+8,x
+13,y
+10)
19 love
.graphics
.line(x
+13,y
+10,x
+14,y
+12)
20 love
.graphics
.line(x
+14,y
+12,x
+15,y
+14)
21 love
.graphics
.line(x
+15,y
+14,x
+15,y
+16)
24 function icon
.line(x
, y
)
25 love
.graphics
.line(x
+4,y
+2, x
+16,y
+18)
28 function icon
.manhattan(x
, y
)
29 love
.graphics
.line(x
+4,y
+20, x
+4,y
+2)
30 love
.graphics
.line(x
+4,y
+2, x
+10,y
+2)
31 love
.graphics
.line(x
+10,y
+2, x
+10,y
+10)
32 love
.graphics
.line(x
+10,y
+10, x
+18,y
+10)
35 function icon
.polygon(x
, y
)
36 love
.graphics
.line(x
+8,y
+2, x
+14,y
+2)
37 love
.graphics
.line(x
+14,y
+2, x
+18,y
+10)
38 love
.graphics
.line(x
+18,y
+10, x
+10,y
+18)
39 love
.graphics
.line(x
+10,y
+18, x
+4,y
+12)
40 love
.graphics
.line(x
+4,y
+12, x
+8,y
+2)
43 function icon
.rectangle(x
, y
)
44 love
.graphics
.line(x
+4,y
+8, x
+4,y
+16)
45 love
.graphics
.line(x
+4,y
+16, x
+16,y
+16)
46 love
.graphics
.line(x
+16,y
+16, x
+16,y
+8)
47 love
.graphics
.line(x
+16,y
+8, x
+4,y
+8)
50 function icon
.square(x
, y
)
51 love
.graphics
.line(x
+6,y
+6, x
+6,y
+16)
52 love
.graphics
.line(x
+6,y
+16, x
+16,y
+16)
53 love
.graphics
.line(x
+16,y
+16, x
+16,y
+6)
54 love
.graphics
.line(x
+16,y
+6, x
+6,y
+6)
57 function icon
.circle(x
, y
)
58 love
.graphics
.circle('line', x
+10,y
+10, 8)