3 p
= path
.curve(0, 0, 1, 0, 1, 1, 2, 1)
4 p1
, p2
, p3
= p
.split([0.5, p
.end()-0.5])
7 c
.stroke(p
, [style
.linewidth
.Thin
, color
.rgb
.red
])
8 c
.stroke(p2
, [style
.linewidth
.Thick
, color
.rgb
.green
])
9 c
.writeEPSfile("split")
10 c
.writePDFfile("split")