TPtoDP 

1.0     2.0     

Converts points in tablet coordinates to display (screen) coordinates.

BOOL TPtoDP( LPPOINT lppt, int cPnt )

Parameters

lppt

Address of an array of POINT44VP0_ structures to convert to display coordinates. This parameter cannot be NULL.

cPnt

Number of POINT structures to convert.

Return Value

Returns TRUE if the conversion was successful; otherwise, returns FALSE.

Comments

The conversion fails if some tablet points lie outside the region mapped to the screen.

Because of rounding errors, the DPtoTP1AOBU_ and TPtoDP functions are not guaranteed to be perfect inverses of each other.

See Also

DPtoTP