GrPointInRegion

Name

GrPointInRegion -- Test if a region contains a specified point

Synopsis

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

Parameters

region

The region in which you want to test for a point.

x, y

The coordinates of the point to test.

Return Value

Returns one if the region containts the point; otherwise returns zero.

Description

The GrPointInRegion function checks to see if the region region contains the point (x, y).