File: demo2.cfdg

package info (click to toggle)
contextfree 3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,260 kB
  • sloc: cpp: 37,992; lex: 414; makefile: 123; sh: 43; python: 34
file content (24 lines) | stat: -rw-r--r-- 413 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
#
# An example, showing how to include another file.
# Note that the include path has to be absolute OR
# relative to the directory you run .cfdg in
#

startshape thingy
import i_pix.cfdg

shape thingy
{
 point [y -1 rotate 180]
 point []
}

shape point
{
  C_5by5 []
  F_5by5 [x 1.2]
  D_5by5 [y -1.2]
  G_5by5 [y -1.2 x 1.2]
  point [y 2.0 x -2.5 rotate 20 size 0.6]
  point [y 2.0 x 2.5 rotate -20 size 0.6]
}