3 - 2
padBox
Draws a solid box on the LCD screen starting at the coordinates specified by
X
and
Y
using the size specified by
Width
and
Height
. The box is drawn using the current
foreground color. The illustration depicts the placement of an arbitrary box at location
x,y
with width of
W
and height
H.
Syntax
BOOL padBox(
int X,
int Y,
int Width,
int Height
)
Parameter
Description
X
Horizontal coordinate to draw the box from
Y
Vertical coordinate to draw the box from
Width
Horizontal size of the box in pixels
Height
Vertical size of the box in pixels
Returns
Returns TRUE if successful, FALSE otherwise.
See Also
padClearPixel, padFrame, padInvert, padLine, padSetPixel
padClear
Clears the entire LCD screen if one is attached.
Syntax
void padClear(
void
)
See Also
padIsLcd, padPutText, padPutBits, padPutLogo
padClearPixel
Clears a pixel on the LCD screen by setting a pixel on the LCD screen at the location specified by
X
and
Y
to the current
background color.
Syntax
BOOL padClearPixel(
int X, int Y
)
Parameter
Description
X
Horizontal coordinate of the pixel to set
Y
Vertical coordinate of the pixel to set
Returns
Returns TRUE if successful, FALSE otherwise.
0,0
x,y
W
H
Содержание PadCom TT1500
Страница 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Страница 88: ...4 2 ...
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...