定义画线参数结构体。
typedef struct { hi_point start_point; hi_point end_point; hi_u32 thick; hi_u32 color; } hi_line;
成员名称
描述
start_point
起始点坐标。
end_point
结束点坐标。
结束点坐标不能与起始点坐标相同。
thick
线的粗细值,取值需要2对齐。
color
线的颜色值,低24位有效。