charstr() — Silicon Graphics Beta Release
NAME
charstr - draws a string of raster characters on the screen
SPECIFICATION
C
charstr(str)
String str;
FORTRAN
subroutine charst(str, length)
character*(*) str
integer*4 length
Pascal
procedure charstr(str: pstring);
DESCRIPTION
charstr draws a string of text using a raster font. The origin of the first character in the string will be placed at the current character position. After each character is drawn, the current character position is updated by the character’s spacing parameter. The text string is drawn in the currently selected raster font and color, using the current writemask. Characters that are not defined in the current raster font are ignored.
In FORTRAN, there are two arguments to charst : str is the name of the text string and length is the number of characters in that string.
SEE ALSO
cmov, defrasterfont, font
Version 2.3 — July 04, 1985