

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


num 1 num 2 add sum num 1 + num 2 num 1 num 2 sub difference num 1 - num 2 num 1 num 2 mul product num 1 * num 2 num 1 num 2 div quotient num 1 / num 2
any pop - discard top element any 1 any 2 exch any 2 any 1 exchange top two elements any dup any any duplicate top element
tx ty translate - translate user space sx sy scale - scale user space angle rotate - rotate user space
x y moveto - set current point dx dy rmoveto - relative moveto x y lineto - append straight line dx dy rlineto - relative lineto x y r ang 1 ang 2 arc - counterclockwise arc
key findfont font return font dict font scale scalefont font' scale font to produce new font' font setfont - set font dictionary string show - print characters of string
init incr lim proc for - execute proc with values from init by steps of incr to lim int proc repeat - repeat proc int times