#include <stdlib.h>
#include "globals.h"
Functions | |
void | rc_set (GRECT *rect, int x, int y, int w, int h) |
Initialize a GRECT data. | |
void | rc_lset (LGRECT *rect, long x, long y, long w, long h) |
Initialize a LGRECT data. | |
void | rc_grect2lgrect (LGRECT *l, const GRECT *r) |
Convert the GRECT values to LGRECT. | |
void | rc_lgrect2grect (GRECT *r, const LGRECT *l) |
Convert the LGRECT values to GRECT. | |
short | rc_lintersect (const LGRECT *r1, LGRECT *r2) |
Compute the interesection of two LGRECT rectangles. |