定义矩形宽高和左上角坐标
typedef struct { hi_s32 x; hi_s32 y; hi_u32 width; hi_u32 height; } hi_rect;
成员名称
描述
x
左上角x轴
y
左上角y轴
width
矩形宽度
height
矩形高度