Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_canvas.c170 lv_img_dsc_t * dest_img = &canvas->dsc; in lv_canvas_transform() local
185 dest_area.x2 = dest_area.x1 + dest_img->header.w - 1; in lv_canvas_transform()
189 lv_color_t * cbuf = lv_mem_alloc(dest_img->header.w * sizeof(lv_color_t)); in lv_canvas_transform()
190 lv_opa_t * abuf = lv_mem_alloc(dest_img->header.w * sizeof(lv_opa_t)); in lv_canvas_transform()
191 for(y = 0; y < dest_img->header.h; y++) { in lv_canvas_transform()
195 for(x = 0; x < dest_img->header.w; x++) { in lv_canvas_transform()
197 lv_img_buf_set_px_color(dest_img, x, y, cbuf[x]); in lv_canvas_transform()
198 lv_img_buf_set_px_alpha(dest_img, x, y, abuf[x]); in lv_canvas_transform()