Rectangle Format Conversion¶
Module: Rectangle Operations / Rectangle Normalization
Conversion between different rectangle representations.
Functions¶
| Name | |
|---|---|
| CFBDGraphicRect | rect_from_xywh(int32_t x, int32_t y, int32_t w, int32_t h) |
| void | rect_to_xywh(const CFBDGraphicRect * r, int32_t * out_x, int32_t * out_y, int32_t * out_w, int32_t * out_h) |
Functions Documentation¶
function rect_from_xywh¶
function rect_to_xywh¶
static inline void rect_to_xywh(
const CFBDGraphicRect * r,
int32_t * out_x,
int32_t * out_y,
int32_t * out_w,
int32_t * out_h
)
Updated on 2026-02-03 at 13:21:55 +0000