Home
last modified time | relevance | path

Searched refs:lv_grad_t (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_gradient.h55 lv_grad_t * lv_gradient_get(const lv_grad_dsc_t * gradient, int32_t w, int32_t h);
61 void lv_gradient_cleanup(lv_grad_t * grad);
146 lv_grad_t * result);
169 lv_grad_t * result);
193 lv_grad_t * result);
Dlv_draw_sw_gradient.c49 lv_grad_t * cgrad; /*256 element cache buffer containing the gradient color map*/
57 lv_grad_t * cgrad; /*256 element cache buffer containing the gradient color map*/
67 lv_grad_t * cgrad; /*256 element cache buffer containing the gradient color map*/
75 typedef lv_result_t (*op_cache_t)(lv_grad_t * c, void * ctx);
76 static lv_grad_t * allocate_item(const lv_grad_dsc_t * g, int32_t w, int32_t h);
92 static lv_grad_t * allocate_item(const lv_grad_dsc_t * g, int32_t w, int32_t h) in allocate_item()
109 …size_t req_size = ALIGN(sizeof(lv_grad_t)) + ALIGN(size * sizeof(lv_color_t)) + ALIGN(size * sizeo… in allocate_item()
110 lv_grad_t * item = lv_malloc(req_size); in allocate_item()
144 lv_grad_t * lv_gradient_get(const lv_grad_dsc_t * g, int32_t w, int32_t h) in lv_gradient_get()
150 lv_grad_t * item = allocate_item(g, w, h); in lv_gradient_get()
[all …]
Dlv_draw_sw_triangle.c139lv_grad_t * grad = lv_gradient_get(&dsc->bg_grad, lv_area_get_width(&tri_area), lv_area_get_height… in lv_draw_sw_triangle()
Dlv_draw_sw_fill.c107 lv_grad_t * grad = lv_gradient_get(&dsc->grad, coords_bg_w, coords_bg_h); in lv_draw_sw_fill()
/lvgl-latest/src/misc/
Dlv_types.h154 typedef struct _lv_grad_t lv_grad_t; typedef