This function tests to see if the specified rectangle (x, y, width, height) is contained within (or partially contained within) the specified region.
Type | Name | Description |
---|---|---|
GR_REGION_ID | region | The ID of the region to test. |
GR_COORD | x | The X coordinate of the rectangle. |
GR_COORD | y | The Y coordinate of the rectangle. |
GR_COORD | w | The width of the rectangle in pixels. |
GR_COORD | h | The height of the rectangle in pixels. |