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

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