OP7100
Software
s
67
int glInit()
Initializes the LCD module (software and hardware).
RETURN VALUE: the status of the LCD. If the initialization was
successful, this function returns 0. Otherwise, the returned value
indicates the LCD status.
int glPlotDot( int x, int y )
Plots one pixel on the screen at coordinate (x,y).
PARAMETERS:
x
is the x coordinate of the pixel to be drawn.
y
is the y coordinate of the pixel to be drawn.
RETURN VALUE: Status of the LCD after the operation.
void glPlotLine( int x1, int y1, int x2, int y2 )
Plots a line on the LCD.
PARAMETERS:
x1
is the x coordinate of the first endpoint.
y1
is the y coordinate of the first endpoint.
x2
is the x coordinate of the second endpoint.
y2
is the y coordinate of the second endpoint.
void glPrintf( int x, int y,
struct _fontInfo *pInfo, char *fmt,... )
Prints a formatted string (much like
printf
) on the LCD screen.
PARAMETERS:
x
is the x coordinate of the text (left edge).
y
is the y coordinate of the text (top-edge).
*pInfo
is the pointer to the font descriptor used for printing on the
LCD screen.
*fmt
is the pointer to the format string
void glPlotCircle( int xc, int yc, int rad )
Draws a circle on the LCD.
PARAMETERS:
xc
is the x coordinate of the center.
yc
is the y coordinate of the center.
rad
is the radius of the circle.
void glFillCircle( int xc, int yc, int rad )
Draws a filled-in circle on the LCD.
PARAMETERS:
xc
is the x coordinate of the center.
yc
is the y coordinate of the center.
rad
is the radius of the circle.
Summary of Contents for OP7100
Page 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 020418 J ...
Page 10: ...OP7100 x s About This Manual ...
Page 16: ...OP7100 16 s Overview ...
Page 50: ...OP7100 50 s Hardware ...
Page 72: ...OP7100 72 s Software ...
Page 80: ...OP7100 80 s Graphics Programming ...
Page 86: ...OP7100 86 s Installation ...
Page 96: ...OP7100 96 s Specifications ...
Page 110: ...110 s Serial Interface Board 2 OP7100 ...
Page 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Page 114: ...OP7100 114 s Backup Battery ...
Page 122: ...OP7100 122 s Index ...