![Argox PT-10 Скачать руководство пользователя страница 48](http://html.mh-extra.com/html/argox/pt-10/pt-10_programming-manual_2969261048.webp)
47
Syntax
:
void Disp_DrawBox(int slL, int slT, int slR, int slB, int slOperate,
BOOL bRepaint);
Example call
:
Disp_DrawBox (0, 0, 127, 63, 1, TRUE); //make a 128*64 rectangle
hollowed black dot box.
Includes
:
#include
“
UserLib.h
"
Description
:
The
Disp_DrawBox
function makes any size of rectangle hollowed
box. The left-top corner of the rectangle hollowed box which is going
to be made is the window relative coordinate specified by the
parameter (slL, slT). The right-bottom corner is the window relative
coordinate specified by the parameter (slR, slB). You need to specify
the color of the rectangle hollowed box by
slOperate
. “0” is specified
as white dot, “1” as black dot, and “2” as reverse color dot of original
one (i.e., white as black or black as white), and the unit is pixel. The
display dimension is 128(W)*64(H), total 8,192 pixels. It will need
total 1,024 Bytes as buffer. The frame width is 1 pixel.
Disp_DrawLine
Purpose
:
Use
Disp_DrawLine
to make a straight line on the display.
Syntax
:
void Disp_DrawLine(int slL, int slT, int slR, int slB, int slOperate,
BOOL bRepaint);
Example call
:
Disp_DrawLine (0, 0, 127, 3, 1, TRUE); //makes a 128*3 straight
line.
Includes
:
#include
“
UserLib.h
"
Description
:
The
Disp_DrawLine
function makes a straight line. The left-top
corner of the straight line which is going to be made is the window
relative coordinate specified by the parameter (slL, slT). The
right-bottom corner is the window relative coordinate specified by
the parameter (slR, slB). You need to specify the color of the straight
line by
slOperate
. “0” is specified as white line, “1” as black line,
and “2” as reverse color line of original one (i.e., white as black or
black as white), and the unit is pixel. The display dimension is
128(W)*64(H), total 8,192 pixels. It will need total 1,024 Bytes as
buffer.
Disp_GetImage
Purpose
:
Use
Disp_GetImage
to get any size of rectangle screen image, and
store into a specified buffer.
Syntax
:
int Disp_GetImage(int slX, int slY, int slW, int slH, char* pssBuffer);
Example call
:
Size_buffer = Disp_GetImage (0, 0, 128, 64, NULL); //ask for a
Содержание 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 ...