2 /* Copyright (C) 2001 Dominik Vogt */
7 /* ---------------------------- included header files ---------------------- */
9 /* ---------------------------- global definitions ------------------------- */
11 /* ---------------------------- global macros ------------------------------ */
13 /* ---------------------------- type definitions --------------------------- */
38 size_rect bottom_right
;
42 /* ---------------------------- exported variables (globals) --------------- */
44 /* ---------------------------- interface functions ------------------------ */
46 /* Returns 1 if the given rectangles intersect and 0 otherwise */
47 int fvwmrect_do_rectangles_intersect(rectangle
*r
, rectangle
*s
);
48 /* Subtracts the values in s2_ from the ones in s1_g and stores the result in
50 void fvwmrect_subtract_rectangles(
51 rectangle
*rdiff
, rectangle
*r1
, rectangle
*r2
);
52 /* Returns 1 is the rectangles are identical and 0 if not */
53 int fvwmrect_rectangles_equal(
54 rectangle
*r1
, rectangle
*r2
);
55 int fvwmrect_move_into_rectangle(
56 rectangle
*move_rec
, rectangle
*target_rec
);
57 int fvwmrect_intersect_xrectangles(
58 XRectangle
*r1
, XRectangle
*r2
);
60 #endif /* FVWMRECT_H */