Page 73 | Table of Contents | Index | Page 75 |
Chapters | |||
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30 A, B, C, D, E |
(defun sheet-mirror (sheet) (sheet-direct-mirror (sheet-mirrored-ancestor sheet)))=> realize-mirror port mirrored-sheet [Generic Function]
Minor issue: Do these functions work on any sheet, or only on sheets that have a mirror, or
only on sheets that have a direct mirror? Also, define what a "native coordinate" are. Also, do
sheet-device-transformation and sheet-device-region really account for the user's trans-
formation and clipping region? | SWM
=> sheet-native-transformation sheet [Generic Function]
Returns the transformation for the sheet sheet that converts sheet coordinates into native coor-
dinates. The object returned by this function is volatile, so programmers must not depend on
the components of the object remaining constant.
=> sheet-native-region sheet [Generic Function]
Returns the region for the sheet sheet in native coordinates. The object returned by this function
is volatile, so programmers must not depend on the components of the object remaining constant.
=> sheet-device-transformation sheet [Generic Function]
Returns the transformation used by the graphics output routines when drawing on the mirror.
This is the composition of the sheet's native transformation and the user transformation. The
object returned by this function is volatile, so programmers must not depend on the components
of the object remaining constant.
=> sheet-device-region sheet [Generic Function]
Returns the actual clipping region to be used when drawing on the mirror. This is the intersection
of the user's clipping region (transformed by the device transformation) with the sheet's native
Page 73 | Table of Contents | Index | Page 75 |
Chapters | |||
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30 A, B, C, D, E |