Postscript (Interlude)
Postscript is a language designed for
- Printed page description
- Electronic documents
A full programming language, with variables, procedures, scope, looping, …
- Stack based, i.e. instead of “1+2” you say “1 2 add”
- Portable Document Format (PDF) is a semi-compiled version of it (straight line code)
We’ll briefly look at graphics in Postscript
- elegant handling of 2-D affine transformations and simple 2-D graphics