Home
last modified time | relevance | path

Searched refs:point_array (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/widgets/
Dlv_line.c71 line->point_array = points; in lv_line_set_points()
116 line->point_array = NULL; in lv_line_constructor()
146 if(line->point_num == 0 || line->point_array == NULL) return; in lv_line_event()
154 w = LV_MAX(line->point_array[i].x, w); in lv_line_event()
155 h = LV_MAX(line->point_array[i].y, h); in lv_line_event()
168 if(line->point_num == 0 || line->point_array == NULL) return; in lv_line_event()
185 p1.x = line->point_array[i].x + x_ofs; in lv_line_event()
186 p2.x = line->point_array[i + 1].x + x_ofs; in lv_line_event()
189 p1.y = line->point_array[i].y + y_ofs; in lv_line_event()
190 p2.y = line->point_array[i + 1].y + y_ofs; in lv_line_event()
[all …]
Dlv_line.h33 const lv_point_t * point_array; /**< Pointer to an array with the points of the line*/ member
/lvgl-latest/tests/src/test_cases/
Dtest_line.c28 TEST_ASSERT_NULL(line_ptr->point_array); in test_line_should_have_valid_documented_default_values()
/lvgl-latest/docs/widgets/core/
Dline.md12 …nt_t` array and passed to the object by the `lv_line_set_points(lines, point_array, point_cnt)` fu…
Dcanvas.md49 - `lv_canvas_draw_line(canvas, point_array, point_cnt, &draw_dsc)`