![background image](http://html1.mh-extra.com/html/hand-held-products/padcom-tt1500/padcom-tt1500_user-manual_589777078.webp)
3 - 58
padSetPadOffset
This command sets the offset value of the
horizontal and vertical points retrieved from
the Transaction Team device’s touch surface
area when mapping the device’s smaller
surface area to a larger surface area when in
PenWare100 emulation mode. For example,
say a touch surface area is approximately
9.5x5.5 centimeters in size. The Transaction
Team 1500’s touch surface area is
approximately 7x3 centimeters in size. To
center the smaller Transaction Team 1500’s
touch surface area within the larger touch
surface area you would use an offset of
187x220. To place the Transaction Team
1500’s touch surface area at the lower right
corner of a larger touch surface area you
would use an offset of 357x441. To place the
Transaction Team 1500’s touch surface area
at the upper left corner of a larger touch
surface area you would use an offset of 0x0,
meaning no offset is used. This command
only works if the Transaction Team device is
in emulation mode. If the device is not in
emulation mode this command has no effect.
To put the device into emulation mode use the
padSetPadMode
command (see page 3-57).
Syntax
BOOL padSetPadOffset(
int OffsetX,
int OffsetY
)
Parameter
Description
OffsetX
Horizontal offset measure in the PenWare100’s resolution
OffsetY
Vertical offset measure in the PenWare100’s resolution
Returns
Returns TRUE if successful, FALSE otherwise.
See Also
padSetPadMode, padSetClearButton
padSetPixel
Sets a pixel on the LCD screen at the location specified by X and Y to the current foreground color.
Syntax
BOOL padSetPixel(
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.
To map the TT1500’s touch
surface area to the center of this
touch surface area, use:
offset X = 187
offset Y = 220
To map the TT1500’s touch
surface area to the upper left of
this touch surface area, use:
offset X = 0
offset Y = 0
To map the TT1500’s touch
surface area to the lower right of
this touch surface area, use:
offset X = 357
offset Y = 441
The TT1500’s touch surface
area has a resolution of
1024x1024 with a DPI of
419x799
If the touch surface area has a resolution of 1024x1024 with a DPI of 273x455:
Содержание 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 ...