GrPointInRegion()

Name

GrPointInRegion() -- Test for point in region

Synopsis

GR_BOOL GrPointInRegion ( GR_REGION_ID region , GR_COORD x , GR_COORD y );

Description

This function tests to see if the specified point (x, y) is within the specified region.

Parameters

TypeNameDescription
GR_REGION_IDregionThe ID of the region to test for inclusion of the point.
GR_COORDxThe X coordinate of the point to test.
GR_COORDyThe Y coordinate of the point to test.

Returns

GR_TRUE if the point is within the region, GR_FALSE if the point is outside the region.

See Also

GrRectInRegion(), GrEmptyRegion(), GrEqualRegion(),