
90
top
Fill form the start point of Y-axis.
width
Fill the width form the start point.
height
Fill the high form the start point.
Returns
:
None
_GetCursor
Purpose
:
Get current cursor status.
Syntax
:
int _GetCursor(void);
Example call
:
if (_GetCursor( ) = =0) _puts(“Cursor Off”);
Includes
:
#include “LIB_CL.h ”
Description
:
The GetCursor function checks if the cursor is visible or not.
Returns
:
The GetCursor function returns an integer of 1 if the cursor is visible
(turned on), 0 if not.
GetFont
Purpose
:
Get current font information.
Syntax
:
int GetFont(void);
Example call
:
if (GetFont = = FONTID_12) _puts (“Font : 12×8”);
Includes
:
#include “LIB_CL.h ”
Description
:
The GetFont function returns the information about the current font
type. Only for English letter.
Returns
:
0 : Font 8×8
。
1 : Font 12×8
。
get_image
Purpose
:
Read the bitmap pattern of a rectangular area on the LCD display.
Syntax
:
void get_image(int left, int top, int width, int height, void *pat);
Example call
:
get_image(10,10,80,50,buffer);
Includes
:
#include “LIB_CL.h ”
The get_image function copies the bitmap pattern of a rectangular
area on the LCD display whose top left position and size are
specified by left, top, width, and height to the buffer specified by pat.
The cursor position is not affected after the operation.
It store in appointed buffer. Several introduces the argument as
follows:
left
Gather form the start point of X-axis.
top
Gather form the start point of Y-axis.
width
Gather the width form the start point.
height
Gather the high form the start point.
Description
:
pat
Store the buffer that has all gathering data of
image.
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...