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
prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git]
/
examples
/
hello.py
blob
d1565e904772e72da15fbe0c12ee0efcddd97371
1
from
pyx
import
*
2
3
c
=
canvas
.
canvas
()
4
c
.
text
(
0
,
0
,
"Hello, world!"
)
5
c
.
stroke
(
path
.
line
(
0
,
0
,
2
,
0
))
6
c
.
writeEPSfile
()
7
c
.
writePDFfile
()
8
c
.
writeSVGfile
()