CODViewport::PortHitTest
CODPortComponent*CODViewport::PortHitTest(CPointptHit, const intnSlop)
Returns a pointer to the topmost port that contains the point, or NULL if there is no port at the point.
Defined in: OdViewport.cpp
Return Value
Pointer to the port that contains the point or NULL if no port found at the point.
Parameters
ptHit
A point in logical units.
nSlop
Size of extra padding around port that causes a positive hit test. Specified in device units.