ContainsPoint
The ContainsPoint method returns a Boolean value that indicates whether the specified point is within the area of this facet.
ODBoolean ContainsPoint (in ODPoint point,
in ODCanvas biasCanvas);
point
- The location to test, expressed in frame coordinates.
biasCanvas
-
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
- return value
-
kODTrue if the specified point is within the area of this facet, otherwise kODFalse.
DISCUSSION
Your part calls its embedded facet's ContainsPoint method when it needs to do hit-testing on those facets. This method tests the result against the intersection of the clip shape and the active shape.
SEE ALSO
The ODPoint type (page 885).
The ODFacet::ActiveBorderContainsPoint method (page 232).