Home
last modified time | relevance | path

Searched refs:fill_dsc (Results 1 – 19 of 19) sorted by relevance

/lvgl-latest/src/draw/sw/blend/
Dlv_draw_sw_blend.c70 lv_draw_sw_blend_fill_dsc_t fill_dsc; in lv_draw_sw_blend() local
71 fill_dsc.dest_w = lv_area_get_width(&blend_area); in lv_draw_sw_blend()
72 fill_dsc.dest_h = lv_area_get_height(&blend_area); in lv_draw_sw_blend()
73 fill_dsc.dest_stride = layer_stride_byte; in lv_draw_sw_blend()
74 fill_dsc.opa = blend_dsc->opa; in lv_draw_sw_blend()
75 fill_dsc.color = blend_dsc->color; in lv_draw_sw_blend()
76 fill_dsc.mask_stride = 0; in lv_draw_sw_blend()
78 if(blend_dsc->mask_buf == NULL) fill_dsc.mask_buf = NULL; in lv_draw_sw_blend()
79 else if(blend_dsc->mask_res == LV_DRAW_SW_MASK_RES_FULL_COVER) fill_dsc.mask_buf = NULL; in lv_draw_sw_blend()
80 else fill_dsc.mask_buf = blend_dsc->mask_buf; in lv_draw_sw_blend()
[all …]
/lvgl-latest/src/draw/nxp/pxp/
Dlv_draw_pxp_layer.c98 lv_draw_fill_dsc_t fill_dsc; in lv_draw_pxp_layer() local
99 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_pxp_layer()
100fill_dsc.color = lv_color_hex(layer_to_draw->color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 :… in lv_draw_pxp_layer()
101 fill_dsc.opa = LV_OPA_20; in lv_draw_pxp_layer()
102 lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot); in lv_draw_pxp_layer()
106 border_dsc.color = fill_dsc.color; in lv_draw_pxp_layer()
121 lv_draw_fill_dsc_t fill_dsc; in lv_draw_pxp_layer() local
122 lv_draw_rect_dsc_init(&fill_dsc); in lv_draw_pxp_layer()
123 fill_dsc.color = lv_palette_main(idx % LV_PALETTE_LAST); in lv_draw_pxp_layer()
124 fill_dsc.opa = LV_OPA_10; in lv_draw_pxp_layer()
[all …]
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_layer.c98 lv_draw_fill_dsc_t fill_dsc; in lv_draw_vglite_layer() local
99 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_vglite_layer()
100fill_dsc.color = lv_color_hex(layer_to_draw->color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 :… in lv_draw_vglite_layer()
101 fill_dsc.opa = LV_OPA_20; in lv_draw_vglite_layer()
102 lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot); in lv_draw_vglite_layer()
106 border_dsc.color = fill_dsc.color; in lv_draw_vglite_layer()
121 lv_draw_fill_dsc_t fill_dsc; in lv_draw_vglite_layer() local
122 lv_draw_rect_dsc_init(&fill_dsc); in lv_draw_vglite_layer()
123 fill_dsc.color = lv_palette_main(idx % LV_PALETTE_LAST); in lv_draw_vglite_layer()
124 fill_dsc.opa = LV_OPA_10; in lv_draw_vglite_layer()
[all …]
/lvgl-latest/src/draw/vg_lite/
Dlv_draw_vg_lite_box_shadow.c83 lv_draw_fill_dsc_t fill_dsc; in lv_draw_vg_lite_box_shadow() local
84 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_vg_lite_box_shadow()
85 fill_dsc.radius = dsc->radius; in lv_draw_vg_lite_box_shadow()
86 fill_dsc.opa = dsc->opa; in lv_draw_vg_lite_box_shadow()
87 fill_dsc.color = dsc->color; in lv_draw_vg_lite_box_shadow()
88 lv_draw_vg_lite_fill(draw_unit, &fill_dsc, &core_area); in lv_draw_vg_lite_box_shadow()
Dlv_draw_vg_lite_vector.c95 vg_lite_color_t c = lv_color32_to_vg(dsc->fill_dsc.color, LV_OPA_COVER); in task_draw_cb()
106 vg_lite_color_t vg_color = lv_color32_to_vg(dsc->fill_dsc.color, dsc->fill_dsc.opa); in task_draw_cb()
126 vg_lite_fill_t fill = lv_fill_to_vg(dsc->fill_dsc.fill_rule); in task_draw_cb()
208 switch(dsc->fill_dsc.style) { in task_draw_cb()
226 …if(lv_vg_lite_buffer_open_image(&image_buffer, &decoder_dsc, dsc->fill_dsc.img_dsc.src, false, tru… in task_draw_cb()
230 lv_matrix_multiply(&m, &dsc->fill_dsc.matrix); in task_draw_cb()
235 … vg_lite_color_t recolor = lv_vg_lite_image_recolor(&image_buffer, &dsc->fill_dsc.img_dsc); in task_draw_cb()
263 if(dsc->fill_dsc.gradient.style == LV_VECTOR_GRADIENT_STYLE_RADIAL) { in task_draw_cb()
269 lv_vg_lite_matrix(&fill_matrix, &dsc->fill_dsc.matrix); in task_draw_cb()
276 &dsc->fill_dsc.gradient, in task_draw_cb()
[all …]
/lvgl-latest/src/draw/
Dlv_draw_vector.c63 lv_memcpy(&(dst->fill_dsc), &(src->fill_dsc), sizeof(lv_vector_fill_dsc_t)); in _copy_draw_dsc()
77 dst->stroke_dsc.gradient.spread = src->fill_dsc.gradient.spread; in _copy_draw_dsc()
477 lv_vector_fill_dsc_t * fill_dsc = &(dsc->current_dsc.fill_dsc); in lv_vector_dsc_create() local
478 fill_dsc->style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_create()
479 fill_dsc->color = lv_color_to_32(lv_color_black(), 0xFF); in lv_vector_dsc_create()
480 fill_dsc->opa = LV_OPA_COVER; in lv_vector_dsc_create()
481 fill_dsc->fill_rule = LV_VECTOR_FILL_NONZERO; in lv_vector_dsc_create()
482 lv_matrix_identity(&(fill_dsc->matrix)); /*identity matrix*/ in lv_vector_dsc_create()
524 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_set_fill_color()
525 dsc->current_dsc.fill_dsc.color = lv_color_to_32(color, 0xFF); in lv_vector_dsc_set_fill_color()
[all …]
Dlv_draw_label.c317 lv_draw_fill_dsc_t fill_dsc; in lv_draw_label_iterate_characters() local
318 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_label_iterate_characters()
319 fill_dsc.opa = dsc->opa; in lv_draw_label_iterate_characters()
453 fill_dsc.color = dsc->color; in lv_draw_label_iterate_characters()
454 cb(draw_unit, NULL, &fill_dsc, &fill_area); in lv_draw_label_iterate_characters()
463 fill_dsc.color = dsc->color; in lv_draw_label_iterate_characters()
464 cb(draw_unit, NULL, &fill_dsc, &fill_area); in lv_draw_label_iterate_characters()
472 fill_dsc.color = dsc->sel_bg_color; in lv_draw_label_iterate_characters()
473 cb(draw_unit, NULL, &fill_dsc, &bg_coords); in lv_draw_label_iterate_characters()
Dlv_draw_vector_private.h73 lv_vector_fill_dsc_t fill_dsc; member
Dlv_draw_label.h97 …w_glyph_cb_t)(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * dsc, lv_draw_fill_dsc_t * fill_dsc,
/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_4.c14 lv_draw_fill_dsc_t * fill_dsc = lv_draw_task_get_fill_dsc(draw_task); in draw_event_cb() local
15 if(fill_dsc) { in draw_event_cb()
21fill_dsc->color = lv_color_mix(lv_palette_main(LV_PALETTE_GREEN), lv_palette_main(LV_PALETTE_RED),… in draw_event_cb()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw.c309 lv_draw_fill_dsc_t fill_dsc; in execute_drawing() local
310 lv_draw_fill_dsc_init(&fill_dsc); in execute_drawing()
311 fill_dsc.color = lv_palette_main(idx % LV_PALETTE_LAST); in execute_drawing()
312 fill_dsc.opa = LV_OPA_10; in execute_drawing()
313 lv_draw_sw_fill((lv_draw_unit_t *)u, &fill_dsc, &draw_area); in execute_drawing()
331 lv_draw_fill_dsc_init(&fill_dsc); in execute_drawing()
332 fill_dsc.color = lv_color_white(); in execute_drawing()
333 lv_draw_sw_fill((lv_draw_unit_t *)u, &fill_dsc, &txt_area); in execute_drawing()
Dlv_draw_sw_img.c132 lv_draw_fill_dsc_t fill_dsc; in lv_draw_sw_layer() local
133 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_sw_layer()
134fill_dsc.color = lv_color_hex(layer_to_draw->color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 :… in lv_draw_sw_layer()
135 fill_dsc.opa = LV_OPA_20; in lv_draw_sw_layer()
136 lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot); in lv_draw_sw_layer()
140 border_dsc.color = fill_dsc.color; in lv_draw_sw_layer()
155 lv_draw_fill_dsc_t fill_dsc; in lv_draw_sw_layer() local
156 lv_draw_fill_dsc_init(&fill_dsc); in lv_draw_sw_layer()
157 fill_dsc.color = lv_palette_main(idx % LV_PALETTE_LAST); in lv_draw_sw_layer()
158 fill_dsc.opa = LV_OPA_10; in lv_draw_sw_layer()
[all …]
Dlv_draw_sw_vector.c379 lv_color_to_tvg(&c, &dsc->fill_dsc.color, dsc->fill_dsc.opa); in _task_draw_cb()
397 _set_paint_fill(obj, canvas, &dsc->fill_dsc, &dsc->matrix); in _task_draw_cb()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl.c237 lv_draw_fill_dsc_t * fill_dsc = task->draw_dsc; in draw_to_texture() local
241 rect_dsc.bg_color = fill_dsc->color; in draw_to_texture()
242 rect_dsc.bg_grad = fill_dsc->grad; in draw_to_texture()
243 rect_dsc.radius = fill_dsc->radius; in draw_to_texture()
244 rect_dsc.bg_opa = fill_dsc->opa; in draw_to_texture()
486 lv_draw_fill_dsc_t * fill_dsc = t->draw_dsc; in execute_drawing() local
487 if(fill_dsc->radius == 0 && fill_dsc->grad.dir == LV_GRAD_DIR_NONE) { in execute_drawing()
500 …SDL_SetRenderDrawColor(renderer, fill_dsc->color.red, fill_dsc->color.green, fill_dsc->color.blue,… in execute_drawing()
/lvgl-latest/src/draw/opengles/
Dlv_draw_opengles.c277 lv_draw_fill_dsc_t * fill_dsc = task->draw_dsc; in draw_to_texture() local
281 rect_dsc.bg_color = fill_dsc->color; in draw_to_texture()
282 rect_dsc.bg_grad = fill_dsc->grad; in draw_to_texture()
283 rect_dsc.radius = fill_dsc->radius; in draw_to_texture()
284 rect_dsc.bg_opa = fill_dsc->opa; in draw_to_texture()
528 lv_draw_fill_dsc_t * fill_dsc = t->draw_dsc; in execute_drawing() local
529 if(fill_dsc->radius == 0 && fill_dsc->grad.dir == LV_GRAD_DIR_NONE) { in execute_drawing()
545 … lv_opengles_render_fill(fill_dsc->color, &fill_area, fill_dsc->opa, targ_tex_w, targ_tex_h); in execute_drawing()
/lvgl-latest/src/libs/svg/
Dlv_svg_render.c297 dsc->fill_dsc.color = lv_color_to_32(lv_color_hex(attr->value.uval), 0xFF); in _set_viewport_attr()
307 dsc->fill_dsc.opa = (lv_opa_t)(attr->value.fval * 255.0f); in _set_viewport_attr()
710 dsc->fill_dsc.opa = LV_OPA_0; in _set_attr()
728 dsc->fill_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in _set_attr()
729 dsc->fill_dsc.color = lv_color_to_32(lv_color_hex(attr->value.uval), 0xFF); in _set_attr()
732 if(obj->dsc.fill_dsc.opa == LV_OPA_0) { in _set_attr()
733 dsc->fill_dsc.opa = LV_OPA_COVER; in _set_attr()
776 dsc->fill_dsc.opa = (lv_opa_t)(attr->value.fval * 255.0f); in _set_attr()
794 dsc->fill_dsc.fill_rule = attr->value.ival; in _set_attr()
886 dsc->fill_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in _set_solid_ref()
[all …]
/lvgl-latest/src/draw/nema_gfx/
Dlv_draw_nema_gfx_label.c506 lv_draw_fill_dsc_t fill_dsc; in _draw_label_iterate_characters() local
507 lv_draw_fill_dsc_init(&fill_dsc); in _draw_label_iterate_characters()
508 fill_dsc.opa = dsc->opa; in _draw_label_iterate_characters()
655 fill_dsc.color = dsc->color; in _draw_label_iterate_characters()
656 lv_draw_nema_gfx_fill(draw_unit, &fill_dsc, &fill_area); in _draw_label_iterate_characters()
665 fill_dsc.color = dsc->color; in _draw_label_iterate_characters()
666 lv_draw_nema_gfx_fill(draw_unit, &fill_dsc, &fill_area); in _draw_label_iterate_characters()
674 fill_dsc.color = dsc->sel_bg_color; in _draw_label_iterate_characters()
675 lv_draw_nema_gfx_fill(draw_unit, &fill_dsc, &bg_coords); in _draw_label_iterate_characters()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_smart_meter.c375 lv_draw_fill_dsc_t * fill_dsc = lv_draw_task_get_fill_dsc(t); in widget2_chart_event_draw_task_cb() local
376 if(fill_dsc->base.id2 != idx) { in widget2_chart_event_draw_task_cb()
377 fill_dsc->opa = LV_OPA_40; in widget2_chart_event_draw_task_cb()
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c1487 lv_draw_fill_dsc_t * fill_dsc = lv_draw_task_get_draw_dsc(draw_task); in chart_event_cb() local
1490 shadow_dsc.radius = fill_dsc->radius; in chart_event_cb()