Write a string to the display with wrapping
void SLsmg_write_wrapped_string (s, r, c, nr, nc, fill)
char *s
int r, c
unsigned int nr, nc
int fill
SLsmg_write_wrapped_string
writes the string s
to the
virtual display. The string will be confined to the rectangular
region whose upper right corner is at row r
and column c
,
and consists of nr
rows and nc
columns. The string will
be wrapped at the boundaries of the box. If fill
is non-zero,
the last line to which characters have been written will get padded
with spaces.
This function does not wrap on word boundaries. However, it will wrap when a newline charater is encountered.
SLsmg_write_string