hi_rect

Description

Defines the width, height, and upper-left coordinates of a rectangle.

Definition

typedef struct {
    hi_s32 x;
    hi_s32 y;
    hi_s32 width;
    hi_s32 height;
} hi_rect;

Members

Member

Description

x

X-coordinate of the upper-left corner

y

Y-coordinate of the upper-left corner

width

Rectangle width

height

Rectangle height