CGXRange::IntersectRange
BOOL IntersectRange(const CGXRange& r1, const CGXRange& r2);
r1
Reference to CGXRange that contains a source range.
r2
Reference to CGXRange that contains a source range.
Return Value
TRUE if the two ranges have range contained in both ranges; FALSE otherwise.
Remarks
Makes a CGXRange equal to the intersection of two existing ranges. The intersection is the largest range contained in both existing ranges.