Syntax

Function Parameters

Return Value

Returns SDL_TRUE if the two rectangles are exactly the same, SDL_FALSE otherwise; see Remarks for details.

Code Examples

Youcanaddyourcodeexamplehere

Remarks

This function compares the width, height, and location (X and Y) values for each of the two rectangles and returns SDL_TRUE if all corresponding values are equal. If any value does not match or either rectangle is NULL it returns SDL_FALSE.