repo.or.cz
/
PyX.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
misc -> gallery
[PyX.git]
/
gallery
/
misc
/
pattern.py
blob
665b87e1a208203363da56cfa27602e8cbe4cfb1
1
from
pyx
import
*
2
3
p
=
pattern
.
pattern
()
4
p
.
text
(
0
,
0
,
r
"\PyX"
)
5
6
c
=
canvas
.
canvas
()
7
c
.
text
(
0
,
0
,
r
"\PyX"
, [
trafo
.
scale
(
25
),
p
])
8
c
.
writeEPSfile
(
"pattern"
)
9
c
.
writePDFfile
(
"pattern"
)