Padscaleto; Padscalex - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

Parameter
X
Y
HorzDPI
VertDPI
See Also
padScaleTo, padScaleX, padScaleY

padScaleTo

Scales horizontal and vertical pad coordinates based on a desired frame size. This function does not maintain the proper
aspect ratio unless the desired output frame is proportional to the pad surface. 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 padScaleTo(
int *X,
int *Y,
int Width,
int Height
)
Parameter
X
Y
Width
Height
See Also
padScaleDPI, padScaleX, padScaleY

padScaleX

Scales a horizontal pad coordinate to a desired DPI resolution. This function is designed to provide proper aspect ratio
scaling for accurate output.
Syntax
int padScaleX(
int X,
int HorzDPI
)
Parameter
X
HorzDPI
Returns
Returns the horizontal position scaled to the desired DPI.
See Also
padScaleY, padScaleDPI
3 - 48
Description
Pointer to an integer to hold the horizontal coordinate to be scaled
Pointer to an integer to hold the vertical coordinate to be scaled
The horizontal dots-per-inch resolution desired
The vertical dots-per-inch resolution desired
Description
Pointer to an integer to hold the horizontal coordinate to be scaled
Pointer to an integer to hold the vertical coordinate to be scaled
The horizontal size of the desired frame area
The vertical size of the desired frame area
Description
An integer specifying the horizontal coordinate to be scaled
The horizontal dots-per-inch resolution of the horizontal coordinate

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents