15 prcl
->bottom
= bottom
;
45 _In_
const RECTL
*prcl
)
47 return (prcl
->left
>= prcl
->right
|| prcl
->top
>= prcl
->bottom
);
53 _In_
const RECTL
*prcl
,
57 return (x
>= prcl
->left
&& x
< prcl
->right
&&
58 y
>= prcl
->top
&& y
< prcl
->bottom
);
64 _In_
const RECTL
*prcl
)
66 return ((prcl
->left
<= prcl
->right
) &&
67 (prcl
->top
<= prcl
->bottom
));
72 RECTL_bClipRectBySize(
74 _In_
const RECTL
*prclSrc
,
75 _In_
const SIZEL
*pszl
)
77 prclDst
->left
= max(prclSrc
->left
, 0);
78 prclDst
->top
= max(prclSrc
->top
, 0);
79 prclDst
->right
= min(prclSrc
->right
, pszl
->cx
);
80 prclDst
->bottom
= min(prclSrc
->bottom
, pszl
->cy
);
81 return !RECTL_bIsEmptyRect(prclDst
);
88 _In_
const RECTL
*prcl1
,
89 _In_
const RECTL
*prcl2
);
95 _In_
const RECTL
* prcl1
,
96 _In_
const RECTL
* prcl2
);
100 RECTL_vMakeWellOrdered(
101 _Inout_ RECTL
*prcl
);