Lines Matching refs:points
44 static lv_point_precise_t points[] = { {5, 5} }; in test_line_size_should_be_updated_after_adding_points() local
45 uint16_t point_cnt = (uint16_t) sizeof(points) / sizeof(lv_point_precise_t); in test_line_size_should_be_updated_after_adding_points()
46 lv_line_set_points(line, points, point_cnt); in test_line_size_should_be_updated_after_adding_points()
54 calculated_width = (int32_t)LV_MAX(points[point_idx].x, calculated_width); in test_line_size_should_be_updated_after_adding_points()
55 calculated_height = (int32_t)LV_MAX(points[point_idx].y, calculated_height); in test_line_size_should_be_updated_after_adding_points()
93 static lv_point_precise_t points[] = { {5, 5}, in test_line_basic_render() local
99 uint16_t point_cnt = (uint16_t) sizeof(points) / sizeof(lv_point_precise_t); in test_line_basic_render()
100 lv_line_set_points(line, points, point_cnt); in test_line_basic_render()
104 lv_line_set_points(line, points, point_cnt); in test_line_basic_render()
150 const lv_point_precise_t points[3] = {{10, 20}, {30, 40}, {50, 60}}; in test_line_point_array_getters_and_setters() local
151 lv_line_set_points(line, points, 3); in test_line_point_array_getters_and_setters()
154 TEST_ASSERT_EQUAL_PTR(points, lv_line_get_points(line)); in test_line_point_array_getters_and_setters()