Padline; Padmemclear - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

padLine

Draws a straight line on the screen starting at the location specified by X and Y, and
ending at the location specified by Xto and Yto. The line is drawn using the current
foreground color. The illustration depicts an arbitrary line drawn from a starting point
x,y to xTo,yTo.
Syntax
BOOL pad Line(
int X,
int Y,
int Xto,
int Yto
)
Parameter
X
Y
Xto
Yto
Returns
Returns TRUE if successful, FALSE otherwise.
See Also
padBox, padClearPixel, padFrame, padInvert, padSetPixel

padMemClear

Clears the entire contents of the Transaction Team POS device's on-board non-volatile memory. Non-volatile memory is
typically used to store large and often used bitmaps and text objects. Since the data resides on the unit, the data transfer
between the COM-port and the unit is reduced, resulting in much faster display times.
Syntax
BOOL padMemClear(
void
)
Returns
Returns TRUE if the non-volatile memory is cleared, FALSE otherwise.
See Also
padMemGetFree, padMemReset, padMemDelete, padMemLoadText, padMemLoadBitmap, padMemFind,
padMemGetChecksum
3 - 28
Description
Horizontal coordinate from which to draw the line
Vertical coordinate from which to draw the line
Horizontal coordinate to draw the line to
Vertical coordinate to draw the line to
0,0
x,y
xTo, yTo

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents