hi_line

Description

Defines the line drawing parameters.

Prototype

typedef struct {
    hi_point start_point;
    hi_point end_point;
    hi_u32 thick;
    hi_u32 color;
} hi_line;

Members

Member

Description

start_point

Coordinates of the start point.

end_point

Coordinates of the end point.

The coordinates of the end point must be different from those of the start point.

thick

Line thickness. The value must be 2-pixel aligned.

color

Line color value. The lower 24 bits are valid.