CODComponent::GetComponentsHit

int CODComponent::GetComponentsHit(const CPoint& pt, CODComponentSet& setComponents)

Hit test region of this component and all children.

Defined in: OdComponent.cpp

Return Value

Number of components found.

Parameters

pt

Point in logical coordinates

setComponents

Output set.

Comments

This function examines the children first and places them into the result list if they contain the given point. The parent component (this) is also loaded into the array at the end if it contains the given point.