/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_arc.c | 25 const lv_point_t * center; member 60 …v_draw_ctx_t * draw_ctx, const lv_draw_arc_dsc_t * dsc, const lv_point_t * center, uint16_t radius, in lv_draw_sw_arc() argument 85 area_out.x1 = center->x - radius; in lv_draw_sw_arc() 86 area_out.y1 = center->y - radius; in lv_draw_sw_arc() 87 …area_out.x2 = center->x + radius - 1; /*-1 because the center already belongs to the left/bottom … in lv_draw_sw_arc() 88 area_out.y2 = center->y + radius - 1; in lv_draw_sw_arc() 127 lv_draw_mask_angle_init(&mask_angle_param, center->x, center->y, start_angle, end_angle); in lv_draw_sw_arc() 143 q_dsc.center = center; in lv_draw_sw_arc() 177 round_area.x1 += center->x; in lv_draw_sw_arc() 178 round_area.x2 += center->x; in lv_draw_sw_arc() [all …]
|
/lvgl-3.4.0/examples/scroll/ |
D | lv_example_scroll_1.py | 7 panel.center() 13 label.center() 19 label.center() 25 label.center() 31 label.center() 37 label.center()
|
D | lv_example_scroll_2.py | 22 panel.center() 34 label.center()
|
/lvgl-3.4.0/src/draw/sdl/ |
D | lv_draw_sdl_arc.c | 41 … void get_cap_area(int16_t angle, lv_coord_t thickness, uint16_t radius, const lv_point_t * center, 47 …aw_sdl_draw_arc(lv_draw_ctx_t * draw_ctx, const lv_draw_arc_dsc_t * dsc, const lv_point_t * center, in lv_draw_sdl_draw_arc() argument 53 area_out.x1 = center->x - radius; in lv_draw_sdl_draw_arc() 54 area_out.y1 = center->y - radius; in lv_draw_sdl_draw_arc() 55 …area_out.x2 = center->x + radius - 1; /*-1 because the center already belongs to the left/bottom … in lv_draw_sdl_draw_arc() 56 area_out.y2 = center->y + radius - 1; in lv_draw_sdl_draw_arc() 90 lv_draw_mask_angle_init(&mask_angle_param, center->x, center->y, start_angle, end_angle); in lv_draw_sdl_draw_arc() 98 get_cap_area((int16_t) start_angle, dsc->width, radius, center, &start_area); in lv_draw_sdl_draw_arc() 99 get_cap_area((int16_t) end_angle, dsc->width, radius, center, &end_area); in lv_draw_sdl_draw_arc() 198 … void get_cap_area(int16_t angle, lv_coord_t thickness, uint16_t radius, const lv_point_t * center, in get_cap_area() argument [all …]
|
/lvgl-3.4.0/examples/layouts/flex/ |
D | lv_example_flex_4.py | 6 cont.center() 15 label.center()
|
D | lv_example_flex_6.py | 9 cont.center() 18 label.center()
|
D | lv_example_flex_2.py | 12 cont.center() 21 label.center()
|
D | lv_example_flex_1.py | 24 label.center() 32 label.center()
|
D | lv_example_flex_5.py | 14 cont.center() 23 label.center()
|
/lvgl-3.4.0/src/widgets/ |
D | lv_arc.c | 38 static void get_center(lv_obj_t * obj, lv_point_t * center, lv_coord_t * arc_r); 39 static void get_knob_area(lv_obj_t * arc, const lv_point_t * center, lv_coord_t r, lv_area_t * knob… 380 lv_point_t center; in lv_arc_event() local 382 get_center(obj, ¢er, &r); in lv_arc_event() 384 p.x -= center.x; in lv_arc_event() 385 p.y -= center.y; in lv_arc_event() 563 lv_point_t center; in lv_arc_draw() local 565 get_center(obj, ¢er, &arc_r); in lv_arc_draw() 579 part_draw_dsc.p1 = ¢er; in lv_arc_draw() 584 …lv_draw_arc(draw_ctx, &arc_dsc, ¢er, part_draw_dsc.radius, arc->bg_angle_start + arc->rotation, in lv_arc_draw() [all …]
|
/lvgl-3.4.0/examples/event/ |
D | lv_example_event_1.py | 10 btn.center() 15 label.center()
|
D | lv_example_event_2.py | 13 btn.center() 17 btn_label.center()
|
D | lv_example_event_3.py | 20 cont.center() 30 label.center()
|
/lvgl-3.4.0/examples/layouts/grid/ |
D | lv_example_grid_3.py | 20 cont.center() 35 label.center()
|
D | lv_example_grid_6.py | 10 cont.center() 26 label.center()
|
D | lv_example_grid_1.py | 13 cont.center() 28 label.center()
|
D | lv_example_grid_4.py | 16 cont.center() 31 label.center()
|
D | lv_example_grid_5.py | 18 cont.center() 30 label.center()
|
/lvgl-3.4.0/examples/widgets/tileview/ |
D | lv_example_tileview_1.py | 12 label.center() 23 btn.center()
|
/lvgl-3.4.0/examples/widgets/menu/ |
D | lv_example_menu_2.py | 5 mbox1.center() 12 menu.center()
|
/lvgl-3.4.0/ |
D | README_zh.md | 1 <h1 align="center"> LVGL - Light and Versatile Graphics Library</h1> 2 <h2 align="center"> LVGL - 轻量级通用型图形库</h2> 6 <p align="center"> 9 <p align="center"> 14 <h4 align="center"> 149 lv_obj_center(label); /*Align the label to the center*/ 171 label.center()
|
/lvgl-3.4.0/examples/styles/ |
D | lv_example_style_11.py | 33 label.center() 43 label.center()
|
/lvgl-3.4.0/demos/music/ |
D | lv_demo_music_main.c | 746 lv_point_t center; in spectrum_draw_event_cb() local 747 center.x = obj->coords.x1 + lv_obj_get_width(obj) / 2; in spectrum_draw_event_cb() 748 center.y = obj->coords.y1 + lv_obj_get_height(obj) / 2; in spectrum_draw_event_cb() 820 poly[0].x = center.x + x1_out; in spectrum_draw_event_cb() 821 poly[0].y = center.y + get_sin(di, v); in spectrum_draw_event_cb() 824 poly[1].x = center.x + x1_in; in spectrum_draw_event_cb() 825 poly[1].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb() 829 poly[2].x = center.x + x2_in; in spectrum_draw_event_cb() 830 poly[2].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb() 833 poly[3].x = center.x + x2_out; in spectrum_draw_event_cb() [all …]
|
/lvgl-3.4.0/examples/get_started/ |
D | lv_example_get_started_2.py | 47 label.center() 61 label.center()
|
/lvgl-3.4.0/examples/widgets/spinner/ |
D | lv_example_spinner_1.py | 4 spinner.center()
|