Padbox; Padclear; Padclearpixel - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

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
X
Y
Width
Height
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
X
Y
Returns
Returns TRUE if successful, FALSE otherwise.
3 - 2
Description
Horizontal coordinate to draw the box from
Vertical coordinate to draw the box from
Horizontal size of the box in pixels
Vertical size of the box in pixels
Description
Horizontal coordinate of the pixel to set
Vertical coordinate of the pixel to set
0,0
x,y
H
W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents