Combines a given transform with the transform of a port for the duration of the macro.
graphics-ports
with-graphics-transform (port transform) &body body => result
port⇩ |
A graphics port. |
transform⇩ |
A transform. |
body⇩ |
A body of Lisp code. |
result |
The return value of the last form executed in body. |
The macro with-graphics-transform
combines the transform associated with port with transform while evaluating the forms of body as an implicit progn. port is given a new transform obtained by pre-multiplying its current transform with transform. This has the effect of preceding any translation, scaling and rotation operations specified in the body of the macro by those operations embodied in transform.
See graphics-state for details of how a transform is used.
(example-edit-file "capi/graphics/metafile-rotation")
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15