window-to-window-units

Function

Package: common-graphics

Arguments: from-window-or-screen to-window-or-screen position-or-box

Converts a position or a box that is in window units relative to from-window into window units relative to to-window. The position or box is destructively modified and returned.

Window units are measured in pixels rightward and downward from the interior upper left corner of a window. (Stream units, on the other hand, are measured from the origin of the conceptual "page" or "canvas" that is scrolled within a window, and may be scaled arbitrarily.)

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.