/lvgl-3.6.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() 131 lv_draw_mask_angle_init(&mask_angle_param, center->x, center->y, start_angle, end_angle); in lv_draw_sw_arc() 147 q_dsc.center = center; in lv_draw_sw_arc() 183 round_area.x1 += center->x; in lv_draw_sw_arc() 184 round_area.x2 += center->x; in lv_draw_sw_arc() [all …]
|
/lvgl-3.6.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_arc.c | 92 … int32_t start_angle, int32_t end_angle, const lv_point_t * center, bool cw); 106 lv_res_t lv_gpu_nxp_vglite_draw_arc(const lv_point_t * center, int32_t radius, int32_t start_angle,… in lv_gpu_nxp_vglite_draw_arc() argument 133 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc() 134 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc() 137 add_arc_path(arc_path, &pidx, radius, start_angle, end_angle, center, true); in lv_gpu_nxp_vglite_draw_arc() 145 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc() 146 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc() 152 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc() 153 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc() 160 lv_point_t round_center = {center->x + cp_x, center->y + cp_y}; in lv_gpu_nxp_vglite_draw_arc() [all …]
|
/lvgl-3.6.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.6.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() 205 … 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.6.0/src/widgets/ |
D | lv_arc.c | 42 static void get_center(const lv_obj_t * obj, lv_point_t * center, lv_coord_t * arc_r); 44 static void get_knob_area(lv_obj_t * arc, const lv_point_t * center, lv_coord_t r, lv_area_t * knob… 339 lv_point_t center; in lv_arc_align_obj_to_angle() local 341 get_center(obj, ¢er, &arc_r); in lv_arc_align_obj_to_angle() 360 lv_point_t center; in lv_arc_rotate_obj_to_angle() local 362 get_center(obj, ¢er, &arc_r); in lv_arc_rotate_obj_to_angle() 373 lv_coord_t pivot_x = obj_to_rotate->coords.x1 - center.x; in lv_arc_rotate_obj_to_angle() 374 lv_coord_t pivot_y = obj_to_rotate->coords.y1 - center.y; in lv_arc_rotate_obj_to_angle() 442 lv_point_t center; in lv_arc_event() local 444 get_center(obj, ¢er, &r); in lv_arc_event() [all …]
|
/lvgl-3.6.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.6.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.6.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.6.0/examples/widgets/tileview/ |
D | lv_example_tileview_1.py | 12 label.center() 23 btn.center()
|
/lvgl-3.6.0/examples/widgets/menu/ |
D | lv_example_menu_2.py | 5 mbox1.center() 12 menu.center()
|
/lvgl-3.6.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"> 150 lv_obj_center(label); /*Align the label to the center*/ 172 label.center()
|
/lvgl-3.6.0/examples/styles/ |
D | lv_example_style_11.py | 33 label.center() 43 label.center()
|
/lvgl-3.6.0/demos/music/ |
D | lv_demo_music_main.c | 776 lv_point_t center; in spectrum_draw_event_cb() local 777 center.x = obj->coords.x1 + lv_obj_get_width(obj) / 2; in spectrum_draw_event_cb() 778 center.y = obj->coords.y1 + lv_obj_get_height(obj) / 2; in spectrum_draw_event_cb() 852 poly[0].x = center.x + x1_out; in spectrum_draw_event_cb() 853 poly[0].y = center.y + get_sin(di, v); in spectrum_draw_event_cb() 856 poly[1].x = center.x + x1_in; in spectrum_draw_event_cb() 857 poly[1].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb() 861 poly[2].x = center.x + x2_in; in spectrum_draw_event_cb() 862 poly[2].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb() 865 poly[3].x = center.x + x2_out; in spectrum_draw_event_cb() [all …]
|
/lvgl-3.6.0/examples/get_started/ |
D | lv_example_get_started_2.py | 47 label.center() 61 label.center()
|