repo.or.cz
/
PyX
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
straight lines in bezier lentopar; some further small cleanups
[PyX/mjg.git]
/
examples
/
pattern.py
blob
5a4c1642594e8694b46833f72ded2630fcb6dff5
1
from
pyx
import
*
2
3
p
=
canvas
.
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
.
writetofile
(
"pattern"
)
9