File: pathtest2.cfdg

package info (click to toggle)
contextfree 3.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,448 kB
  • sloc: cpp: 37,995; lex: 414; makefile: 123; sh: 43; python: 34
file content (14 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
startshape pentagram

path pentagram {
    MOVETO{x -1}
    ARCTO{x 1}
    ARCTO{x -1}
    CLOSEPOLY{}
    STROKE{p buttjoin}
    MOVETO{y 1}
    5* {r 144} 
        LINETO {x (cos(234)) y (sin(234))}
    CLOSEPOLY{p align}
    STROKE{p miterjoin s 0.82}
}