|
INLINE RECT * | rc_set (RECT *rc, int l, int t, int r, int b) |
| Initialize a rectangle.
|
|
INLINE RECT * | rc_set2 (RECT *rc, int x, int y, int w, int h) |
| Initialize a rectangle, with sizes inside of max boundaries.
|
|
INLINE int | rc_width (const RECT *rc) |
| Get rectangle width.
|
|
INLINE int | rc_height (const RECT *rc) |
| Get rectangle height.
|
|
INLINE RECT * | rc_set_pos (RECT *rc, int x, int y) |
| Move rectangle to (x, y) position.
|
|
INLINE RECT * | rc_set_size (RECT *rc, int w, int h) |
| Reside rectangle.
|
|
INLINE RECT * | rc_move (RECT *rc, int dx, int dy) |
| Move rectangle by (dx, dy).
|
|
INLINE RECT * | rc_inflate (RECT *rc, int dw, int dh) |
| Increase size by dw horizontally and dh vertically.
|
|
INLINE RECT * | rc_inflate2 (RECT *rc, const RECT *dr) |
| Increase sizes on all sides by values of rectangle dr.
|
|
RECT * | rc_normalize (RECT *rc) |
|