Professional Documents
Culture Documents
(4, 2.5)
(2.5,1) in inches
NOTE Note: As illustrated in the example it is perfectly possible to draw objects or parts of objects "off the page". In
particular a common confusing bug is a translation operation that translates the entire drawing off the visible
area of the page. If a program produces a blank page it is possible that all the drawn objects are off the page.
def scale(canvas):
canvas.scale(0.75, 0.5)
coords(canvas)
This produces a "short and fat" reduced version of the previously displayed operations.
Page 18