Searched refs:outline_dsc (Results 1 – 2 of 2) sorted by relevance
286 lv_draw_border_dsc_t * outline_dsc = lv_malloc(sizeof(lv_draw_border_dsc_t)); in lv_draw_rect() local287 LV_ASSERT_MALLOC(outline_dsc); in lv_draw_rect()288 t->draw_dsc = outline_dsc; in lv_draw_rect()291 outline_dsc->base = dsc->base; in lv_draw_rect()292 outline_dsc->base.dsc_size = sizeof(lv_draw_border_dsc_t); in lv_draw_rect()293 …outline_dsc->radius = dsc->radius == LV_RADIUS_CIRCLE ? LV_RADIUS_CIRCLE : dsc->radius + dsc->outl… in lv_draw_rect()295 outline_dsc->color = dsc->outline_color; in lv_draw_rect()296 outline_dsc->opa = dsc->outline_opa; in lv_draw_rect()297 outline_dsc->width = dsc->outline_width; in lv_draw_rect()298 outline_dsc->side = LV_BORDER_SIDE_FULL; in lv_draw_rect()
1470 lv_draw_rect_dsc_t outline_dsc; in chart_event_cb() local1471 lv_draw_rect_dsc_init(&outline_dsc); in chart_event_cb()1472 outline_dsc.bg_opa = LV_OPA_TRANSP; in chart_event_cb()1473 outline_dsc.outline_color = lv_color_white(); in chart_event_cb()1474 outline_dsc.outline_width = 2; in chart_event_cb()1475 outline_dsc.radius = LV_RADIUS_CIRCLE; in chart_event_cb()1478 lv_draw_rect(base_dsc->layer, &outline_dsc, &draw_task_area); in chart_event_cb()