line-end

Generic Function

Package: common-graphics

Arguments: stream

Returns (or sets with setf) a symbol indicating the current style for drawing the ends of thick lines on stream. The possible values are

:round (the default)
:square
:flat
:round adds a round cap past the specified endpoint.
:square adds a square cap (protruding by one-half of the width of the line).
:flat ends the line immediately at the specified endpoint.

In Windows 95/98 (as opposed to NT), the non-default values of line-end will be used only when lines are drawn as part of a "path"; see with-drawing-path.

See also: with-line-end, line-join, with-line-join, begin-drawing-path, end-drawing-path, and with-drawing-path.

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.