/lvgl-3.7.0/src/draw/stm32_dma2d/ |
D | lv_gpu_stm32_dma2d.c | 61 … const lv_area_t * draw_area, lv_color_t color, lv_opa_t opa); 63 …const lv_area_t * draw_area, const void * src_buf, lv_coord_t src_stride, const lv_point_t * src_o… 66 …const lv_area_t * draw_area, const lv_opa_t * mask_buf, lv_coord_t mask_stride, const lv_point_t *… 145 lv_area_t draw_area; in lv_draw_stm32_dma2d_blend() local 146 if(!_lv_area_intersect(&draw_area, dsc->blend_area, draw_ctx->clip_area)) return; in lv_draw_stm32_dma2d_blend() 166 …lv_point_t mask_offset = lv_area_get_offset(dsc->mask_area, &draw_area); // mask offset in relatio… in lv_draw_stm32_dma2d_blend() 169 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_stm32_dma2d_blend() 170 …_lv_draw_stm32_dma2d_blend_paint(draw_ctx->buf, dest_stride, &draw_area, mask, mask_stride, &mask_… in lv_draw_stm32_dma2d_blend() 178 …lv_point_t src_offset = lv_area_get_offset(dsc->blend_area, &draw_area); // source image offset in… in lv_draw_stm32_dma2d_blend() 179 lv_coord_t draw_width = lv_area_get_width(&draw_area); in lv_draw_stm32_dma2d_blend() [all …]
|
D | lv_gpu_stm32_dma2d.h | 61 …const lv_area_t * draw_area, const lv_color_t * src_buf, lv_coord_t src_stride, const lv_point_t *…
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_bg.c | 35 … void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 38 …ic void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 77 … void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_color() argument 86 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_color() 92 …ic void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_img() argument 99 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_img()
|
D | lv_draw_sdl_rect.c | 76 … void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 79 …draw_bg_grad_simple(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 82 …draw_bg_grad_radius(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 85 …ic void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 88 …ic void draw_border(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, 224 lv_area_t draw_area = {.x1 = 0, .y1 = 0, .x2 = radius - 1, .y2 = radius - 1}; in lv_draw_sdl_rect_grad_frag_obtain() local 226 lv_area_align(&coords, &draw_area, LV_ALIGN_TOP_LEFT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain() 228 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain() 231 lv_area_align(&coords, &draw_area, LV_ALIGN_TOP_RIGHT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain() 233 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain() [all …]
|
D | lv_draw_sdl_polygon.c | 68 lv_area_t draw_area; in lv_draw_sdl_polygon() local 69 is_common = _lv_area_intersect(&draw_area, &poly_coords, draw_ctx->clip_area); in lv_draw_sdl_polygon() 79 lv_coord_t w = lv_area_get_width(&draw_area), h = lv_area_get_height(&draw_area); in lv_draw_sdl_polygon() 84 dump_masks(texture, &draw_area); in lv_draw_sdl_polygon() 90 lv_area_to_sdl_rect(&draw_area, &dstrect); in lv_draw_sdl_polygon()
|
D | lv_draw_sdl_label.c | 106 lv_area_t draw_area; in lv_draw_sdl_draw_letter() local 109 if(!_lv_area_intersect(&draw_area, &letter_area, clip_area)) { in lv_draw_sdl_draw_letter() 147 if(!_lv_area_intersect(&draw_area, &t_letter, &t_clip)) { in lv_draw_sdl_draw_letter() 155 lv_area_to_sdl_rect(&draw_area, &dstrect); in lv_draw_sdl_draw_letter() 156 srcrect.x = draw_area.x1 - t_letter.x1; in lv_draw_sdl_draw_letter() 157 srcrect.y = draw_area.y1 - t_letter.y1; in lv_draw_sdl_draw_letter()
|
D | lv_draw_sdl_arc.c | 58 lv_area_t draw_area; in lv_draw_sdl_draw_arc() local 59 if(!_lv_area_intersect(&draw_area, &area_out, draw_ctx->clip_area)) { in lv_draw_sdl_draw_arc() 105 lv_coord_t w = lv_area_get_width(&draw_area), h = lv_area_get_height(&draw_area); in lv_draw_sdl_draw_arc() 110 …dump_masks(texture, &draw_area, mask_ids, mask_ids_count, cap_ids[0] != LV_MASK_ID_INV ? cap_ids :… in lv_draw_sdl_draw_arc() 133 lv_area_to_sdl_rect(&draw_area, &dstrect); in lv_draw_sdl_draw_arc()
|
/lvgl-3.7.0/examples/widgets/bar/ |
D | lv_example_bar_6.c | 29 if(lv_area_get_width(dsc->draw_area) > txt_size.x + 20) { in event_cb() 30 txt_area.x2 = dsc->draw_area->x2 - 5; in event_cb() 36 txt_area.x1 = dsc->draw_area->x2 + 5; in event_cb() 41 txt_area.y1 = dsc->draw_area->y1 + (lv_area_get_height(dsc->draw_area) - txt_size.y) / 2; in event_cb()
|
D | lv_example_bar_6.py | 21 if dsc.draw_area.get_width() > txt_size.x + 20: 22 txt_area.x2 = dsc.draw_area.x2 - 5 27 txt_area.x1 = dsc.draw_area.x2 + 5 31 txt_area.y1 = dsc.draw_area.y1 + (dsc.draw_area.get_height() - txt_size.y) // 2
|
D | test.py | 24 if dsc.draw_area.get_width() > txt_size.x + 20: 25 txt_area.x2 = dsc.draw_area.x2 - 5 30 txt_area.x1 = dsc.draw_area.x2 + 5 34 txt_area.y1 = dsc.draw_area.y1 + (dsc.draw_area.get_height() - txt_size.y) // 2
|
/lvgl-3.7.0/examples/widgets/btnmatrix/ |
D | lv_example_btnmatrix_2.c | 51 a.x1 = dsc->draw_area->x1 + (lv_area_get_width(dsc->draw_area) - header.w) / 2; in event_cb() 53 a.y1 = dsc->draw_area->y1 + (lv_area_get_height(dsc->draw_area) - header.h) / 2; in event_cb()
|
D | lv_example_btnmatrix_2.py | 63 a.x1 = dsc.draw_area.x1 + (dsc.draw_area.get_width() - header.w) // 2 65 a.y1 = dsc.draw_area.y1 + (dsc.draw_area.get_height() - header.h) // 2
|
/lvgl-3.7.0/examples/widgets/slider/ |
D | lv_example_slider_3.c | 43 … label_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - label_size.x / 2; in slider_event_cb() 45 label_area.y2 = dsc->draw_area->y1 - 10; in slider_event_cb()
|
D | lv_example_slider_3.py | 19 label_area.x1 = dsc.draw_area.x1 + dsc.draw_area.get_width() // 2 - label_size.x // 2 21 label_area.y2 = dsc.draw_area.y1 - 10
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_arc.c | 33 const lv_area_t * draw_area; member 155 q_dsc.draw_area = &area_out; in lv_draw_sw_arc() 246 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_0() 261 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_0() 274 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_0() 291 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_0() 313 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_1() 328 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_1() 341 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_1() 358 lv_draw_rect(q->draw_ctx, q->draw_dsc, q->draw_area); in draw_quarter_1() [all …]
|
D | lv_draw_sw_rect.c | 458 lv_area_t draw_area; in draw_shadow() local 459 if(!_lv_area_intersect(&draw_area, &shadow_area, draw_ctx->clip_area)) return; in draw_shadow() 1162 lv_area_t draw_area; in draw_border_generic() local 1163 if(!_lv_area_intersect(&draw_area, outer_area, draw_ctx->clip_area)) return; in draw_border_generic() 1164 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_border_generic() 1204 blend_area.x1 = draw_area.x1; in draw_border_generic() 1205 blend_area.x2 = draw_area.x2; in draw_border_generic() 1206 for(h = draw_area.y1; h <= draw_area.y2; h++) { in draw_border_generic() 1214 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, draw_area.x1, h, draw_area_w); in draw_border_generic() 1278 blend_area.x1 = draw_area.x1; in draw_border_generic() [all …]
|
D | lv_draw_sw_img.c | 50 lv_area_t draw_area; in lv_draw_sw_img_decoded() local 51 lv_area_copy(&draw_area, draw_ctx->clip_area); in lv_draw_sw_img_decoded() 53 bool mask_any = lv_draw_mask_is_any(&draw_area); in lv_draw_sw_img_decoded()
|
/lvgl-3.7.0/examples/widgets/table/ |
D | lv_example_table_2.c | 20 sw_area.x1 = dsc->draw_area->x2 - 50; in draw_event_cb() 22 sw_area.y1 = dsc->draw_area->y1 + lv_area_get_height(dsc->draw_area) / 2 - 10; in draw_event_cb()
|
D | lv_example_table_2.py | 24 sw_area.x1 = dsc.draw_area.x2 - 50 26 sw_area.y1 = dsc.draw_area.y1 + dsc.draw_area.get_height() // 2 - 10
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_draw.h | 46 lv_area_t * draw_area; /**< The area of the part being drawn*/ member
|
D | lv_obj.c | 548 part_dsc.draw_area = &coords; in lv_obj_draw() 621 part_dsc.draw_area = &coords; in lv_obj_draw() 652 part_dsc.draw_area = &hor_area; in draw_scrollbar() 658 part_dsc.draw_area = &ver_area; in draw_scrollbar() 660 part_dsc.draw_area = &ver_area; in draw_scrollbar()
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.c | 1303 … txt_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - text_size.x / 2; in slider_event_cb() 1305 txt_area.y2 = dsc->draw_area->y1 - 10; in slider_event_cb() 1412 txt_area.y2 = dsc->draw_area->y1 - LV_DPX(15); in chart_event_cb() 1415 txt_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2; in chart_event_cb() 1419 txt_area.x2 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2; in chart_event_cb() 1424 … txt_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - text_size.x / 2; in chart_event_cb() 1426 txt_area.y2 = dsc->draw_area->y1 - LV_DPX(15); in chart_event_cb() 1481 lv_coord_t h = lv_area_get_height(dsc->draw_area); in shop_chart_event_cb() 1484 a.x1 = dsc->draw_area->x1; in shop_chart_event_cb() 1485 a.x2 = dsc->draw_area->x2; in shop_chart_event_cb() [all …]
|
/lvgl-3.7.0/src/widgets/ |
D | lv_btnmatrix.h | 52 …f bool (*lv_btnmatrix_btn_draw_cb_t)(lv_obj_t * btnm, uint32_t btn_id, const lv_area_t * draw_area,
|
/lvgl-3.7.0/docs/widgets/core/ |
D | slider.md | 40 - `draw_area`: area of the indicator 45 - `draw_area`: area of the indicator
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | led.md | 27 - `draw_area`: the area of the rectangle
|