84
eDisplay (OP7200)
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, new line, 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 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);
Summary of Contents for eDisplay OP7200
Page 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 060831 J...
Page 6: ...eDisplay OP7200...
Page 14: ...8 eDisplay OP7200...
Page 22: ...16 eDisplay OP7200...
Page 52: ...46 eDisplay OP7200...
Page 126: ...120 eDisplay OP7200...
Page 132: ...126 eDisplay OP7200...
Page 152: ...146 eDisplay OP7200...
Page 168: ...162 eDisplay OP7200...
Page 172: ...166 eDisplay OP7200...
Page 174: ......