File: icons.g

package info (click to toggle)
genesis 2.1-1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 14,288 kB
  • ctags: 10,667
  • sloc: ansic: 111,959; makefile: 2,240; yacc: 1,797; lex: 976; csh: 54; sh: 13
file content (29 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//genesis
//

// here are some of the icons
create xshape  /tree/draw/tree/shape[1] -coords \
	[-0.5,-0.5,0][0,0.5,0][0.5,-0.5,0][-0.5,-0.5,0] \
 -drawmode FillPoly -pixcolor maroon -value neutral -pixflags v

create xshape  /tree/draw/tree/shape[2] -coords \
    [0.6,0.8,0][0.9,0.6,0][1,0.4,0][1,0.2,0][0.8,-0.2,0][-0.6,-0.4,0] \
    [-0.4,0,0] [-0.4,0.2,0][-0.5,0.4,0][-0.8,0.6,0][0.6,0.8,0][-0.8,0.6,0] \
    [-1,0.2,0][-1,0,0][-0.9,-0.2,0][-0.6,-0.4,0] \
 -drawmode DrawLines -pixcolor maroon -value compartment -pixflags v

 
create xshape /tree/draw/tree/shape[3] -coords \
    [-0.2,-1,0][-0.2,-0.6,0][-1,-0.6,0][-0.2,-0.2,0][-0.8,-0.2,0] \
    [-0.2,0.2,0][-0.6 ,0.2,0][-0.2,0.6,0][-0.4,0.6,0][0,1,0][0.4,0.6,0] \
    [0.2,0.6,0][0.6,0.2,0][0.2,0.2,0][0.8,-0.2,0][0.2,-0.2,0][-1,-0.6,0] \
    [0.2,-0.6,0][0.2,-1,0] \
  -drawmode FillPoly -pixcolor green -value xtree -pixflags v

 
create xshape  /tree/draw/tree/shape[4] -coords  \
    [0.2,0.6,0][0.8,0.6,0][1,0.4,0][1,-1,0][0.4,-1,0][0.2,-0.8,0] \
    [0.2,0.6,0][0.4,0.7,0][0.4,0.9,0][0.2,1,0][-0.6,1,0][-1,0.6,0] \
    [-1,-1,0][-0.2,-1,0][-0.2,0.5,0][0.2,0.6,0] \
 -drawmode DrawLines -pixcolor violet -value hh_channel -pixflags v