device-to-dialog-units

Generic Function

Package: common-graphics

Arguments: stream position-or-box

Modifies box to convert its coordinates from pixel units to "dialog units". The Windows operating system defines a dialog unit as being one-fourth a system font character width horizontally and one-eighth of a system font character height vertically. We discourage the use of dialog units since It can vary from one machine to another depending on the size of the system font implemented by each video device driver.

The stream argument is ignored.

In earlier releases, this function was named screen-to-dialog-units. In release 6.0, the old name can be used for backward compatibility.

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.