General-purpose definitions for Banjo API.
#define BANJO_EXPORT
Definition api.h:139
uint32_t bj_bool
Boolean type used throughout the Banjo API.
Definition api.h:276
uint16_t h
The height of the rectangle.
Definition rect.h:23
uint16_t w
The width of the rectangle.
Definition rect.h:22
int16_t x
The x-coordinate of the rectangle's top-left corner.
Definition rect.h:20
int16_t y
The y-coordinate of the rectangle's top-left corner.
Definition rect.h:21
struct bj_rect_t bj_rect
Typedef for bj_rect_t.
Definition rect.h:15
bj_bool bj_rect_intersection(const bj_rect *p_rect_a, const bj_rect *p_rect_b, bj_rect *p_result)
Computes the intersection of two bj_rect.
Represents a rectangle with position and dimensions.
Definition rect.h:19