InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
HitTestEventData Class Reference

#include <IDrwEvtHandler.h>

Inheritance diagram for HitTestEventData:
CDrawEventData

Public Member Functions

 HitTestEventData (IPMUnknown *c, GraphicsData *g, const PMRect &x, UIDRef *t, int32 f, bool16 *b, IVisitorHelper *h, IBaseVisitor *v)
 
- Public Member Functions inherited from CDrawEventData
 CDrawEventData (IPMUnknown *c, int32 f)
 

Public Attributes

GraphicsDatahitTestEventGraphicsData
 
const PMRecthitTestEventTestRect
 
UIDRefhitTestEventItemHit
 
bool16 * hitTestEventIsHit
 
IVisitorHelperpVisitable
 
IBaseVisitortheVisitor
 
- Public Attributes inherited from CDrawEventData
IPMUnknownchangedBy
 
int32 flags
 

Detailed Description

Data class for Hit Test Events.

Constructor & Destructor Documentation

HitTestEventData::HitTestEventData (IPMUnknownc,
GraphicsDatag,
const PMRectx,
UIDReft,
int32 f,
bool16 * b,
IVisitorHelperh,
IBaseVisitorv 
)
inline

constructor

Parameters
cIN who is dispatching this event
gIN current graphic data in place
xIN the hit rectangle
tINOUT the UIDRef of the thing that is hit
fIN see IShape.h for the drawing flags
bINOUT bool16 kTrue if the thing is hit, kFalse otherwise
hIN pointer to IVisitorHelper
vIN pointer to IBaseVisitor

Member Data Documentation

GraphicsData* HitTestEventData::hitTestEventGraphicsData

Current graphic data in place.

bool16* HitTestEventData::hitTestEventIsHit

Boolean kTrue if the thing is hit, kFalse otherwise.

UIDRef* HitTestEventData::hitTestEventItemHit

The UIDRef of the thing that is hit

const PMRect& HitTestEventData::hitTestEventTestRect

The hit rectangle.

IVisitorHelper* HitTestEventData::pVisitable

Pointer to IVisitorHelper.

IBaseVisitor* HitTestEventData::theVisitor

Pointer to IBaseVisitor.