2 import sys
; sys
.path
[:0] = ["../.."]
8 c
.stroke(path
.line(10*unit
.u_pt
, 10*unit
.u_pt
, 40*unit
.u_pt
, 40*unit
.u_pt
)+
9 path
.line(10*unit
.u_pt
, 40*unit
.u_pt
, 40*unit
.u_pt
, 10*unit
.u_pt
))
10 # path.rect(10*unit.u_pt, 10*unit.u_pt, 30*unit.u_pt, 30*unit.u_pt))
12 c
.writeEPSfile("cross", page_bboxenlarge
=0)
16 c
.stroke(path
.line(0,4,6,4), [style
.linestyle
.dashed
])
17 c
.insert(epsfile
.epsfile(0, 4, "cross.eps", align
="bl"))
18 c
.insert(epsfile
.epsfile(2, 4, "cross.eps", align
="cl"))
19 c
.insert(epsfile
.epsfile(4, 4, "cross.eps", align
="tl"))
21 c
.stroke(path
.line(3,6,3,10), [style
.linestyle
.dashed
])
22 c
.insert(epsfile
.epsfile(3, 6, "cross.eps", align
="bl"))
23 c
.insert(epsfile
.epsfile(3, 8, "cross.eps", align
="bc"))
24 c
.insert(epsfile
.epsfile(3, 10, "cross.eps", align
="br"))
26 c
.insert(epsfile
.epsfile(1, -1, "cross.eps", scale
=1))
27 c
.insert(epsfile
.epsfile(1, -1, "cross.eps", scale
=2))
29 c
.insert(epsfile
.epsfile(5, -1, "cross.eps", scale
=1, align
="cc"))
30 c
.insert(epsfile
.epsfile(5, -1, "cross.eps", scale
=2, align
="cc"))
32 c
.insert(epsfile
.epsfile(9, -1, "cross.eps", scale
=1, align
="tr"))
33 c
.insert(epsfile
.epsfile(9, -1, "cross.eps", scale
=2, align
="tr"))
35 c
.insert(epsfile
.epsfile(1, -5, "cross.eps"))
36 c
.insert(epsfile
.epsfile(1, -5, "cross.eps", width
=2))
38 c
.insert(epsfile
.epsfile(5, -5, "cross.eps", scale
=1, align
="cc"))
39 c
.insert(epsfile
.epsfile(5, -5, "cross.eps", width
=2, align
="cc"))
41 c
.insert(epsfile
.epsfile(9, -5, "cross.eps", scale
=1, align
="tr"))
42 c
.insert(epsfile
.epsfile(9, -5, "cross.eps", width
=2, align
="tr"))
44 c
.insert(epsfile
.epsfile(1, -9, "cross.eps"))
45 c
.insert(epsfile
.epsfile(1, -9, "cross.eps", height
=1.5))
47 c
.insert(epsfile
.epsfile(5, -9, "cross.eps", scale
=1, align
="cc"))
48 c
.insert(epsfile
.epsfile(5, -9, "cross.eps", height
=1.5, align
="cc"))
50 c
.insert(epsfile
.epsfile(9, -9, "cross.eps", scale
=1, align
="tr"))
51 c
.insert(epsfile
.epsfile(9, -9, "cross.eps", height
=1.5, align
="tr"))
53 c
.insert(epsfile
.epsfile(1, -13, "cross.eps"))
54 c
.insert(epsfile
.epsfile(1, -13, "cross.eps", width
=2, height
=1.5))
56 c
.insert(epsfile
.epsfile(5, -13, "cross.eps", scale
=1, align
="cc"))
57 c
.insert(epsfile
.epsfile(5, -13, "cross.eps", width
=2,height
=1.5, align
="cc"))
59 c
.insert(epsfile
.epsfile(9, -13, "cross.eps", scale
=1, align
="tr"))
60 c
.insert(epsfile
.epsfile(9, -13, "cross.eps", width
=2, height
=1.5, align
="tr"))
62 c
.writeEPSfile("test_epsfile")