Banjo API 0.0.1
Multi-purpose C99 API
Loading...
Searching...
No Matches
rect.h File Reference

Defines the bj_rect struct representing a rectangle with position and dimensions.

#include <banjo/api.h>
Include dependency graph for rect.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bj_rect_t
 Represents a rectangle with position and dimensions. More...
 

Typedefs

typedef struct bj_rect_t bj_rect
 Typedef for bj_rect_t.
 

Functions

bj_bool bj_rect_intersect (const bj_rect *p_rect_a, const bj_rect *p_rect_b, bj_rect *p_result)
 Computes the intersection of two bj_rect.