VECTORHITTEST

Summary

The VECTORHITTEST structure holds information about hit test options.

Syntax

typedef struct tagVECTORHITTEST 
{ 
   L_INT nSize; 
   L_INT nDistance; 
   L_UINT32 dwFlags; 
} VECTORHITTEST, * pVECTORHITTEST; 

Members

L_INT nSize

Size of this structure. Used for versioning.

L_INT nDistance

Distance from the point, in pixels. This value indicates how close the point must be to an object in order to "hit" the object.

L_UINT32 dwFlags

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.

Comments

LVectorBase::GetHitTest and LVectorBase::SetHitTest get and set the current hit test options. LVectorBase::HitTest actually performs the hit test.

The hit test options must be set before calling LVectorBase::HitTest.

pVECTORHITTEST is a pointer to a VECTORHITTEST structure.

Usage

Data Types

Functions

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.