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

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