File: finallytest.cfdg

package info (click to toggle)
contextfree 3.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,432 kB
  • sloc: cpp: 34,857; lex: 416; makefile: 124; sh: 42; python: 41
file content (34 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (4)
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
30
31
32
33
34
startshape foo2

shape foo1 {
	CIRCLE[]
	foo1 [[x 0.5 s 0.99 x 0.5 r 3]]
}

shape foo2 {
    SQUARE [[r -22.5 s 0.1 14.5 y 0.5]]
	//trap [[r -22.5 y 0.5 s 0.1 14 y 0.5]]
	loop 10 [[x 0.5 s 0.99 x 0.5 r 3]] 
		CIRCLE []
	finally
		foo2 []
}

shape foo {
	foo1[]
	foo2[z 1]
}

path trap
{
	MOVETO( 0.25,  0.5)
	LINETO(-0.25,  0.5)
	LINETO(-1.00, -0.5)
	LINETO( 1.00, -0.5)
	CLOSEPOLY()
	FILL[]
}