Modifies the transform of a port such that the edges of the port correspond to the arguments given.
The generic function set-graphics-port-coordinates
modifies the
transform
of the graphics port
port
permanently such that the edges of
port
correspond to the values of the other arguments.
The transform is part of the port's graphics state. See graphics-state for details of how it is used.
(set-graphics-port-coordinates port :left -1.0
:top 1.0
:right 1.0
:bottom -1.0)
changes the coordinates of the port so that the point (0 0) is in the exact center of the port and the edges are a unit distance away, with a right-handed coordinate system.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017