| 5 | ////////////////////////////////////////////////////////////////////// |
| 6 | CV_INLINE RECT NormalizeRect( RECT r ); |
| 7 | CV_INLINE RECT NormalizeRect( RECT r ) |
| 8 | { |
| 9 | int t; |
| 10 | if( r.left > r.right ) |
| 11 | { |
| 12 | t = r.left; |
| 13 | r.left = r.right; |
| 14 | r.right = t; |
| 15 | } |
| 16 | if( r.top > r.bottom ) |
| 17 | { |
| 18 | t = r.top; |
| 19 | r.top = r.bottom; |
| 20 | r.bottom = t; |
| 21 | } |
| 22 | |
| 23 | return r; |
| 24 | } |
| 25 | CV_INLINE CvRect RectToCvRect( RECT sr ); |
| 26 | CV_INLINE CvRect RectToCvRect( RECT sr ) |
| 27 | { |
no outgoing calls
no test coverage detected