This chapter provides reference material for the pen manager. The pen manager API is declared in the header file PenMgr.h
.
For more information on the pen manager, see "The Pen Manager" of the Palm OS Programmer's Companion, vol. I.
Pen Manager Functions
PenCalibrate Function
Purpose
Set the calibration of the pen.
Declared In
PenMgr.h
Prototype
Err PenCalibrate ( PointType *digTopLeftP, PointType *digBotRightP, PointType *scrTopLeftP, PointType *scrBotRightP )
Parameters
-
digTopLeftP
- Digitizer output from top-left coordinate.
-
digBotRightP
- Digitizer output from bottom-right coordinate.
-
scrTopLeftP
- Screen coordinate near top-left corner.
-
scrBotRightP
- Screen coordinate near bottom-right corner.
Returns
Comments
Called by Preferences application when calibrating pen.
Compatibility
If Palm OS Cobalt Feature Set is present this function does nothing.
See Also
PenResetCalibration Function
Purpose
Reset the calibration in preparation for calibrating the pen again.
Declared In
PenMgr.h
Prototype
Err PenResetCalibration ( void )
Parameters
Returns
Comments
Called by Preferences application before capturing points when calibrating the pen.
Compatibility
If Palm OS Cobalt Feature Set is present this function does nothing.