Lines Matching refs:area
587 lv_area_t area; in draw_bg_img() local
588 area.x1 = coords->x1 + lv_area_get_width(coords) / 2 - header.w / 2; in draw_bg_img()
589 area.y1 = coords->y1 + lv_area_get_height(coords) / 2 - header.h / 2; in draw_bg_img()
590 area.x2 = area.x1 + header.w - 1; in draw_bg_img()
591 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
593 lv_draw_img((lv_draw_ctx_t *) ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()
596 lv_area_t area; in draw_bg_img() local
597 area.y1 = coords->y1; in draw_bg_img()
598 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
600 for(; area.y1 <= coords->y2; area.y1 += header.h, area.y2 += header.h) { in draw_bg_img()
602 area.x1 = coords->x1; in draw_bg_img()
603 area.x2 = area.x1 + header.w - 1; in draw_bg_img()
604 for(; area.x1 <= coords->x2; area.x1 += header.w, area.x2 += header.w) { in draw_bg_img()
605 lv_draw_img((lv_draw_ctx_t *) ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()