diff options
| author | wkj <devnull@localhost> | 2004-05-16 07:54:22 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-16 07:54:22 +0000 |
| commit | b855148c9b6d28fedfd083d037bcf246f1913d92 (patch) | |
| tree | 0075eb6ea37427fa48b78cb937fabc04175cead1 /src/cmd/postscript/psfiles/Nroundpage.ps | |
| parent | 61f5c35c9465f0702739b41249a664d409f0482c (diff) | |
| download | plan9port-b855148c9b6d28fedfd083d037bcf246f1913d92.tar.gz plan9port-b855148c9b6d28fedfd083d037bcf246f1913d92.zip | |
Checkpoint.
Diffstat (limited to 'src/cmd/postscript/psfiles/Nroundpage.ps')
| -rw-r--r-- | src/cmd/postscript/psfiles/Nroundpage.ps | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/postscript/psfiles/Nroundpage.ps b/src/cmd/postscript/psfiles/Nroundpage.ps new file mode 100644 index 00000000..44a67a6d --- /dev/null +++ b/src/cmd/postscript/psfiles/Nroundpage.ps @@ -0,0 +1,11 @@ +% +% A version of roundpage.ps that assumes a symmetric clipping path. Thanks +% to Matthijs Melchior for the suggestion. +% + +/roundpagebbox { + pagebbox dup 0 get pagebbox 2 get add 2 exch put + pagebbox dup 1 get pagebbox 3 get add 3 exch put + pagebbox 0 0 put + pagebbox 1 0 put +} bind def |
