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

## 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-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