feat(line, triangle): add float support for points
This commit is contained in:
@@ -17,7 +17,7 @@ void lv_example_style_9(void)
|
||||
lv_obj_t * obj = lv_line_create(lv_screen_active());
|
||||
lv_obj_add_style(obj, &style, 0);
|
||||
|
||||
static lv_point_t p[] = {{10, 30}, {30, 50}, {100, 0}};
|
||||
static lv_point_precise_t p[] = {{10, 30}, {30, 50}, {100, 0}};
|
||||
lv_line_set_points(obj, p, 3);
|
||||
|
||||
lv_obj_center(obj);
|
||||
|
||||
Reference in New Issue
Block a user