ImageGear for C and C++ on Windows v19.10 - Updated
AT_ARTX_HITTEST_PARAMS
API Reference Guide > ArtX Component API Reference > ArtX Component Structures Reference > AT_ARTX_HITTEST_PARAMS

This structure contains members that specify hit test parameters.

Declaration:

 
Copy Code
typedef struct tagAT_ARTX_HITTEST_PARAMS
{
        AT_POINT ptDevicePoint;
        AT_INT nClickPrecision;
        HIG_ARTX_MARK hMark;
        enumIGArtXHitTest nResult;
        AT_INT nResultData;
} AT_ARTX_HITTEST_PARAMS, *LPAT_ARTX_HITTEST_PARAMS;

Members:

Name Type Description
ptDevicePoint AT_POINT Point in device coordinates to test.
nClickPrecision AT_INT Click precision in pixels.
hMark HIG_ARTX_MARK Handle to the resultant mark.
nResult enumIGArtXHitTest Hit test result.
nResultData AT_INT

The value of nResult establishes the meaning of nResultData:

  • When nResult is IG_ARTX_HITTEST_ONBOUND, interpret nResultData as a member of enumIGArtXBounds.
  • When nResult is IG_ARTX_HITTEST_ONPOINT, interpret nResultData as the zero-based index of the mark point.
  • For all other values of nResult, the value of nResultData will equal 0.