Are transformed the current transformation matrix
185
|
|---|
• scale modifies the unit lengths independently along the current x and y axes, leaving the origin location and the orientation of the axes unchanged.
• concat applies an arbitrary linear transformation to the user coordinate sys- tem.
Example 4.1
| /box |
|
|
|---|---|---|
| { | ||
0 1 lineto
1 1 lineto
1 0 lineto
closepath
} def
| Graphics |
|---|
% can modify.
72 72 scale % Modify the current transformation matrix so that everything % subsequently drawn will be 72 times larger; that is, each unit % will represent an inch instead of 1⁄72 inch.
|
|---|
FIGURE 4.1 The two squares produced by Example 4.1


