include/SDL_rect.h
 changeset 5949 b2668bd8c9dc parent 5947 2abc5a4210d5 child 6138 4c64952a58fb
equal inserted replaced
5948:05e6bfac079f 5949:b2668bd8c9dc
`    74 #define SDL_RectEmpty(X)    ((!(X)) || ((X)->w <= 0) || ((X)->h <= 0))`
`    74 #define SDL_RectEmpty(X)    ((!(X)) || ((X)->w <= 0) || ((X)->h <= 0))`
`    75 `
`    75 `
`    76 /**`
`    76 /**`
`    77  *  \brief Returns true if the two rectangles are equal.`
`    77  *  \brief Returns true if the two rectangles are equal.`
`    78  */`
`    78  */`
`    79 #define SDL_RectEquals(A, B)   (((A) && ((B)) && \`
`    79 #define SDL_RectEquals(A, B)   (((A)) && ((B)) && \`
`    80                                 ((A)->x == (B)->x) && ((A)->y == (B)->y) && \`
`    80                                 ((A)->x == (B)->x) && ((A)->y == (B)->y) && \`
`    81                                 ((A)->w == (B)->w) && ((A)->h == (B)->h))`
`    81                                 ((A)->w == (B)->w) && ((A)->h == (B)->h))`
`    82 `
`    82 `
`    83 /**`
`    83 /**`
`    84  *  \brief Determine whether two rectangles intersect.`
`    84  *  \brief Determine whether two rectangles intersect.`