User`s manual

PK2200 Software Reference s 57
int glInit()
Initializes the LCD module (software and hardware).
RETURN VALUE: returns the status of the LCD. If the initialization
was successful, this function returns 0. Otherwise, the returned value
indicates the LCD status.
int glBlankScreen()
Blanks the screen of the LCD.
RETURN VALUE: The returned value indicates the status of the LCD
after the operation.
int glPlotDot(int x, int y)
Plots one pixel on the screen at coordinate (x,y).
PARAMETER1: the x coordinate of the pixel to be drawn.
PARAMETER2: 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.
PARAMETER1: x coordinate of first endpoint.
PARAMETER2: y coordinate of first endpoint.
PARAMETER3: x coordinate of second endpoint.
PARAMETER4: y coordinate of second endpoint.
RETURN VALUE: None.
void glPutBitmap(int x, int y, int bmWidth,
int bmHeight, char *bm)
Displays a bitmap stored in root memory on the LCD. For bitmaps
defined in xmem memory, use glXPutBitmap.
PARAMETER1: x coordinate of the bitmap (left edge).
PARAMETER2: y coordinate of the bitmap (top edge).
PARAMETER3: width of the bitmap.
PARAMETER4: height of the bitmap.
PARAMETER5: pointer to the bitmap.
RETURN VALUE: None.