3 - 47
padResetOutTimeout
This function resets the time-out value used for the com port’s output to the connected pad. This is not related to the time-
out used during the initial connection phase (see "padSetConnectTimeout" on page 3-52).
Syntax
unsigned int padResetOutTimeout(
void
)
Returns
Returns the default time-out setting
See Also
padSetOutTimout, padGetInTimeout, padGetOutTimeout, padSetInTimeout, padResetInTimeout,
padSetConnectTimeout, padGetConnectTimeout, padResetConnectTimeout
padScale
This function uses integer math to perform scaling by a given fraction.
Syntax
int padScale(
int Value,
int Numerator,
int Denominator
)
Parameter
Description
Value
The value to be scaled
Numerator
The numerator of the fraction for the scale
Denominator
The denominator of the fraction for the scale
Returns
Returns the result of the scaling.
See Also
padScaleX, padScaleY, padScaleDPI, padScaleTo
padScaleDPI
Scales horizontal and vertical pad coordinates to a desired DPI resolution. This function is designed to provide proper aspect
ratio scaling for accurate output. It converts the values pointed to by X and Y pointers. NULL pointers may be passed for
either X or Y parameters to suppress scaling of the associated coordinate.
Syntax
void padScaleDPI(
int *X,
int *Y,
int HorzDPI,
int VertDPI
)
Содержание 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 ...