The VECTORHITTEST structure holds information about hit test options.
Size of this structure. Used for versioning.
Distance from the point, in pixels. This value indicates how close the point must be to an object in order to "hit" the object.
Flag that determines which objects to consider when hit testing. Possible values are:
Value | Meaning |
---|---|
VECTOR_HITTEST_CLOSEDFIGURES | Determine whether the hit test point is inside closed objects. |
VECTOR_HITTEST_IGNORESELECTED | Do not test objects that are already selected. |
The L_VecGetHitTest and L_VecSetHitTest functions, get and set the current hit test options. The L_VecHitTest actually performs the hit test.
The hit test options must be set before calling the L_VecHitTest function.
pVECTORHITTEST is a pointer to a VECTORHITTEST structure.