Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version