6 RECTL_vSetRect(RECTL
*prcl
, LONG left
, LONG top
, LONG right
, LONG bottom
)
11 prcl
->bottom
= bottom
;
16 RECTL_vSetEmptyRect(RECTL
*prcl
)
26 RECTL_vOffsetRect(RECTL
*prcl
, INT cx
, INT cy
)
36 RECTL_bIsEmptyRect(const RECTL
*prcl
)
38 return (prcl
->left
>= prcl
->right
|| prcl
->top
>= prcl
->bottom
);
43 RECTL_bPointInRect(const RECTL
*prcl
, INT x
, INT y
)
45 return (x
>= prcl
->left
&& x
<= prcl
->right
&&
46 y
>= prcl
->top
&& y
<= prcl
->bottom
);
51 RECTL_bUnionRect(RECTL
*prclDst
, const RECTL
*prcl1
, const RECTL
*prcl2
);
55 RECTL_bIntersectRect(RECTL
*prclDst
, const RECTL
*prcl1
, const RECTL
*prcl2
);
59 RECTL_vMakeWellOrdered(RECTL
*prcl
);
62 #endif /* _WIN32K_RECT_H */