User’s Manual
69
Prints a formatted string (much like
printf
) on the LCD screen. Only the character codes that exist in
the font set are printed, all others are skipped over. For example,
’\b’
,
’\t’
,
’\n’
, and
’\r’
(ASCII backspace, tab, newline, and carriage return, respectively) will be printed if they exist in the font
set, but will not have any effect as control characters.
Any portion of the bitmap character that is outside the LCD display area will be clipped.
PARAMETERS
x
is the x coordinate (column) of the upper left corner of the text
y
is the y coordinate (row) of the left top corner of the text
pInfo
is is a pointer to the window frame descriptor
fmt
is a formatted string
...
is a formatted string of conversion parameter(s)
EXAMPLE
glprintf(0,0, &fi12x16, "Test %d\n", count);
SEE ALSO
glXFontInit
Sets the
glPrintf()
printing step direction. The x and y step directions are independent signed val-
ues. The actual step increments depend on the height and width of the font being displayed, which are
multiplied by the step values.
Use
glGetPfStep()
to examine the current x and y printing step direction.
PARAMETERS
stepX
is the
glPrintf
x step value
stepY
is the
glPrintf
y step value
SEE ALSO
glGetPfStep
Gets the current
glPrintf()
printing step direction. Each step direction is independent of the other,
and is treated as an 8-bit signed value. The actual step increments depends on the height and width of the
font being displayed, which are multiplied by the step values.
Use
glSetPfStep()
to control the x and y printing step direction.
RETURN VALUE
The x step is returned in the MSB, and the y step is returned in the LSB of the integer result.
SEE ALSO
glSetPfStep
void glPrintf(int x, int y, fontInfo *pInfo,
char *fmt, ... );
void glSetPfStep(int stepX, int stepY);
void glGetPfStep(void);
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Страница 6: ...eDisplay OP7200 ...
Страница 44: ...38 eDisplay OP7200 ...
Страница 117: ...User s Manual 111 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200 ...
Страница 128: ...122 eDisplay OP7200 ...
Страница 136: ...130 eDisplay OP7200 ...
Страница 144: ...138 eDisplay OP7200 ...
Страница 146: ...140 eDisplay OP7200 ...
Страница 150: ...144 eDisplay OP7200 ...
Страница 152: ......