Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## stream-string-corners

Arguments: stream string &optional start end

Use of the function is deprecated. Use stream-string-width and line-height instead.

Returns as multiple values four position objects defined as follows:

1. `(make-position 0 0)`
2. `(make-position 0 (line-height stream))`
3. `(make-position (stream-string-width stream string start end) 0)`
4. `(make-position (stream-string-width stream string start end) (line-height stream))`

See line-height and stream-string-width. The returned values are not meaningful if string (or the substring specified by start and end) contains newline characters.

The results describe the area taken up by string (or the substring specified by start and end) if it were printed to stream using the font of stream as returned by font. stream should be a `cg-stream`.

Because this function returns the same information as line-height and stream-string-width (though in a somewhat different format), its use is deprecated. We recommend you use line-height and stream-string-width instead.

The function nstream-string-corners is the destructive version of this function.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version