Future of the Python Linux Distribution
Ivan Van Laningham
ivanlan at home.com
Tue May 9 00:14:26 EDT 2000
Hi All--
Alex wrote:
>
> > What about hand-coding graphics directly in Postscript ?
>
> I reckon that wouldn't make you a wizard, that would just make you a
> masochist. :)
>
*Sigh*. I knew someone would make me do this.
----------------------------------------------
/rgt { _rbar exch get } bind def
/p4 { 4 { pop } repeat } bind def
/ism { { rgt } forall arcto p4 } bind def
/stuff { _rbar exch 3 -1 roll put } bind def
/Rbbx { gsave [ 6 1 roll ] /_rbar exch def
3 rgt 1 rgt add 1 stuff 2 rgt 0 rgt add 0 stuff
2 rgt 3 rgt 4 rgt add newpath M
[ [ 2 1 0 1 4 ] [ 0 1 0 3 4 ] [ 0 3 2 3 4 ] [ 2 3 2 1 4 ] ]
{ ism } forall gsave Sg fill grestore
Sg S stroke grestore } bind def
----------------------------------------------
<suck-squeeze-pop-phooey>-ly y'rs,
Ivan;-)
----------------------------------------------
Ivan Van Laningham
Axent, Inc.
http://www.pauahtun.org and
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps: Cu Chi, Class of '70
Author: Teach Yourself Python in 24 Hours
More information about the Python-list
mailing list