summaryrefslogtreecommitdiff
path: root/info/examples/tlc2/rosette.ps
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/tlc2/rosette.ps
Initial commit
Diffstat (limited to 'info/examples/tlc2/rosette.ps')
-rw-r--r--info/examples/tlc2/rosette.ps31
1 files changed, 31 insertions, 0 deletions
diff --git a/info/examples/tlc2/rosette.ps b/info/examples/tlc2/rosette.ps
new file mode 100644
index 0000000000..fa4ccc7361
--- /dev/null
+++ b/info/examples/tlc2/rosette.ps
@@ -0,0 +1,31 @@
+%!PS-Adobe-3.0
+%%BoundingBox: 1 1. 44. 44.
+% Cookbook Example Program from First Printing, Revised 7 Jan 1985
+% Program: Repeated Shapes Number: 6
+/inch {10 mul} def
+/wedge
+ { newpath
+ 0 0 moveto
+ 1 0 translate
+ 15 rotate
+ 0 15 sin translate
+ 0 0 15 sin -90 90 arc
+ closepath
+ } def
+gsave
+ 2.25 inch 2.25 inch translate
+ 1.75 inch 1.75 inch scale
+ 0.02 setlinewidth
+ 2 1 13
+ {13 div setgray
+ gsave
+ wedge
+ gsave
+ fill
+ grestore
+ 0 setgray stroke
+ grestore
+ 30 rotate
+ } for
+grestore
+