Home
last modified time | relevance | path

Searched refs:grad_dir (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c115 lv_grad_dir_t grad_dir = dsc->bg_grad.dir; in draw_bg() local
116 …lv_color_t bg_color = grad_dir == LV_GRAD_DIR_NONE ? dsc->bg_color : dsc->bg_grad.stops[0].colo… in draw_bg()
117 if(bg_color.full == dsc->bg_grad.stops[1].color.full) grad_dir = LV_GRAD_DIR_NONE; in draw_bg()
125 if(!mask_any && dsc->radius == 0 && (grad_dir == LV_GRAD_DIR_NONE)) { in draw_bg()
168 if(grad && grad_dir == LV_GRAD_DIR_HOR) { in draw_bg()
176 if(grad_dir == LV_GRAD_DIR_VER && dither_mode != LV_DITHER_NONE) { in draw_bg()
183 if(grad_dir == LV_GRAD_DIR_VER) in draw_bg()
190 switch(grad_dir) { in draw_bg()
203 switch(grad_dir) { in draw_bg()
231 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
[all …]
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite.c424 lv_grad_dir_t grad_dir = dsc->bg_grad.dir; in lv_draw_vglite_bg() local
425 lv_color_t bg_color = (grad_dir == (lv_grad_dir_t)LV_GRAD_DIR_NONE) ? in lv_draw_vglite_bg()
428 grad_dir = LV_GRAD_DIR_NONE; in lv_draw_vglite_bg()
436 if(!has_mask && ((dsc->radius != 0) || (grad_dir != (lv_grad_dir_t)LV_GRAD_DIR_NONE))) { in lv_draw_vglite_bg()
/lvgl-3.7.0/docs/overview/
Dstyle-props.md238 Set the gradient color of the background. Used only if `grad_dir` is not `LV_GRAD_DIR_NONE`