left-margin

Generic Function

Package: common-graphics

Arguments: windows-graphics &optional (stream-units-p t)

Returns the value of the left-margin property of the argument. The value is in space-widths (the width of the space character in the current font of the argument) unless the optional stream-units-p argument is specified true, in which case pixel units rather than space-widths are used.

When drawing text using common lisp functions such as print or format, a newline will move the current position to the left margin. On the other hand, when using common graphics drawing functions, an application should take note of a stream's margins and position the drawing appropriately.

left-margin is a property of the printer class.

Note: incompatible change in release 6.0: in releases prior to 6.0, when a frame-with-single-child instance was passed to this operator, the operator was actually applied to the child (the result of applying frame-child to the frame-with-single-child instance). In release 6.0, this redirection no longer occurs. If you intend this operator to apply to the frame-child, pass that to this operator rather than the parent. This is a non-backward-compatible-change. See the release notes for more information.

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.