Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## line-height

Arguments: stream

Returns the line height of the argument stream. stream should be a `graphical-stream`.

The line height is the number of pixels taken up by a line of text, from the baseline of one line to the baseline of the next. When a newline is printed to the stream (as with draw-string-in-box or format), the current-position-y of the stream is incremented by this amount (and the current-position-x is set to the stream's left-margin).

The line-height is set automatically to equal the font-height of the initial font of the stream, and when (setf font) or with-font is called on the stream. It may also be set directly if needed by calling (setf line-height).

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version