Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

stream-string-width

Arguments: stream string &optional start end

Returns the width of string (or the substring of string specified by start and end) if it were printed onto stream by princ using the font of stream.

stream should be a cg-stream.

This function assumes that the string has no newline characters in it. The result is not meaningful if it does contain newlines.

Methods are defined for all graphical streams (windows, the screen, bitmap-streams, and printer streams).


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version