Generic 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

## nstream-string-size

Arguments: stream string position &optional start end

Use of this function is deprecated. Use stream-string-width instead.

Modifies and returns position so that it is the amount by which the current position of stream would move if string (or the substring of string determined by start and end if those arguments are supplied) were printed onto it by princ using the default font of stream (as returned by font).

stream should be a `cg-stream`.

The result is not meaningful if string contains newline characters.

This function is not in fact particularly useful and we recommend against using it. The position-x of position will be the value returned by stream-string-width called with the stream, string, start, and end arguments. position-y of position will be 0, so the same information can be determined by a call to stream-string-width and calling that function is recommended over using this one.

This is the destructive version of stream-string-size.

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