Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1008 -
------------------------------------------------------------------------------
8. Draw a small size string. <Main>
------------------------------------------------------------------------------
[Name]
gr_dispsstr
[Syntax]
#include <graph.h>
void gr_dispsstr( char *str, short cx, short cy,
short fg, short bg ) ;
[Arguments]
str Character string to be drawn.
cx, cy Coordinate of the left-upper corner at where the
character is drawn.
fg Character color.
bg Background color.
[Return]
------
[Description]
Draws small size (8x8/8x12 dots) character string on the graphic
screen.
Specify the character color and the background color using palette
index number. Only character is drawn if -32768 (0x8000) is specified
as the background color. This function draws only characters whose
codes are 0x20 - 0x5F. If lowercase character is specified, the
converted uppercase character is drawn instead.
Dot size of drawn character is as follows.
Display mode Dot size Note
-----------------------+---------------+----------------------------
80-column x 25-line(*1) 8 x 8 14" type or small character
mode of 9" type
40-column x 16-line(*2) 8 x 12 9" type
(*1) 25-line - 30-line
(*2) 16-line - 19-line