Lines Matching refs:current_dsc

477     lv_vector_fill_dsc_t * fill_dsc = &(dsc->current_dsc.fill_dsc);  in lv_vector_dsc_create()
484 lv_vector_stroke_dsc_t * stroke_dsc = &(dsc->current_dsc.stroke_dsc); in lv_vector_dsc_create()
494 dsc->current_dsc.blend_mode = LV_VECTOR_BLEND_SRC_OVER; in lv_vector_dsc_create()
495 dsc->current_dsc.scissor_area = layer->_clip_area; in lv_vector_dsc_create()
496 lv_matrix_identity(&(dsc->current_dsc.matrix)); /*identity matrix*/ in lv_vector_dsc_create()
508 lv_array_deinit(&(dsc->current_dsc.stroke_dsc.dash_pattern)); in lv_vector_dsc_delete()
514 dsc->current_dsc.blend_mode = blend; in lv_vector_dsc_set_blend_mode()
519 lv_memcpy(&(dsc->current_dsc.matrix), matrix, sizeof(lv_matrix_t)); in lv_vector_dsc_set_transform()
524 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_set_fill_color()
525 dsc->current_dsc.fill_dsc.color = lv_color_to_32(color, 0xFF); in lv_vector_dsc_set_fill_color()
530 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_set_fill_color32()
531 dsc->current_dsc.fill_dsc.color = color; in lv_vector_dsc_set_fill_color32()
536 dsc->current_dsc.fill_dsc.opa = opa; in lv_vector_dsc_set_fill_opa()
541 dsc->current_dsc.fill_dsc.fill_rule = rule; in lv_vector_dsc_set_fill_rule()
546 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_PATTERN; in lv_vector_dsc_set_fill_image()
547 lv_memcpy(&(dsc->current_dsc.fill_dsc.img_dsc), img_dsc, sizeof(lv_draw_image_dsc_t)); in lv_vector_dsc_set_fill_image()
552 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_GRADIENT; in lv_vector_dsc_set_fill_linear_gradient()
553 dsc->current_dsc.fill_dsc.gradient.style = LV_VECTOR_GRADIENT_STYLE_LINEAR; in lv_vector_dsc_set_fill_linear_gradient()
554 dsc->current_dsc.fill_dsc.gradient.x1 = x1; in lv_vector_dsc_set_fill_linear_gradient()
555 dsc->current_dsc.fill_dsc.gradient.y1 = y1; in lv_vector_dsc_set_fill_linear_gradient()
556 dsc->current_dsc.fill_dsc.gradient.x2 = x2; in lv_vector_dsc_set_fill_linear_gradient()
557 dsc->current_dsc.fill_dsc.gradient.y2 = y2; in lv_vector_dsc_set_fill_linear_gradient()
562 dsc->current_dsc.fill_dsc.style = LV_VECTOR_DRAW_STYLE_GRADIENT; in lv_vector_dsc_set_fill_radial_gradient()
563 dsc->current_dsc.fill_dsc.gradient.style = LV_VECTOR_GRADIENT_STYLE_RADIAL; in lv_vector_dsc_set_fill_radial_gradient()
564 dsc->current_dsc.fill_dsc.gradient.cx = cx; in lv_vector_dsc_set_fill_radial_gradient()
565 dsc->current_dsc.fill_dsc.gradient.cy = cy; in lv_vector_dsc_set_fill_radial_gradient()
566 dsc->current_dsc.fill_dsc.gradient.cr = radius; in lv_vector_dsc_set_fill_radial_gradient()
571 dsc->current_dsc.fill_dsc.gradient.spread = spread; in lv_vector_dsc_set_fill_gradient_spread()
582 … lv_memcpy(&(dsc->current_dsc.fill_dsc.gradient.stops), stops, sizeof(lv_gradient_stop_t) * count); in lv_vector_dsc_set_fill_gradient_color_stops()
583 dsc->current_dsc.fill_dsc.gradient.stops_count = count; in lv_vector_dsc_set_fill_gradient_color_stops()
588 lv_memcpy(&(dsc->current_dsc.fill_dsc.matrix), matrix, sizeof(lv_matrix_t)); in lv_vector_dsc_set_fill_transform()
593 lv_memcpy(&(dsc->current_dsc.stroke_dsc.matrix), matrix, sizeof(lv_matrix_t)); in lv_vector_dsc_set_stroke_transform()
598 dsc->current_dsc.stroke_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_set_stroke_color32()
599 dsc->current_dsc.stroke_dsc.color = color; in lv_vector_dsc_set_stroke_color32()
604 dsc->current_dsc.stroke_dsc.style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_set_stroke_color()
605 dsc->current_dsc.stroke_dsc.color = lv_color_to_32(color, 0xFF); in lv_vector_dsc_set_stroke_color()
610 dsc->current_dsc.stroke_dsc.opa = opa; in lv_vector_dsc_set_stroke_opa()
615 dsc->current_dsc.stroke_dsc.width = width; in lv_vector_dsc_set_stroke_width()
620 lv_array_t * dash_array = &(dsc->current_dsc.stroke_dsc.dash_pattern); in lv_vector_dsc_set_stroke_dash()
640 dsc->current_dsc.stroke_dsc.cap = cap; in lv_vector_dsc_set_stroke_cap()
645 dsc->current_dsc.stroke_dsc.join = join; in lv_vector_dsc_set_stroke_join()
650 dsc->current_dsc.stroke_dsc.miter_limit = miter_limit; in lv_vector_dsc_set_stroke_miter_limit()
655 dsc->current_dsc.stroke_dsc.style = LV_VECTOR_DRAW_STYLE_GRADIENT; in lv_vector_dsc_set_stroke_linear_gradient()
656 dsc->current_dsc.stroke_dsc.gradient.style = LV_VECTOR_GRADIENT_STYLE_LINEAR; in lv_vector_dsc_set_stroke_linear_gradient()
657 dsc->current_dsc.stroke_dsc.gradient.x1 = x1; in lv_vector_dsc_set_stroke_linear_gradient()
658 dsc->current_dsc.stroke_dsc.gradient.y1 = y1; in lv_vector_dsc_set_stroke_linear_gradient()
659 dsc->current_dsc.stroke_dsc.gradient.x2 = x2; in lv_vector_dsc_set_stroke_linear_gradient()
660 dsc->current_dsc.stroke_dsc.gradient.y2 = y2; in lv_vector_dsc_set_stroke_linear_gradient()
665 dsc->current_dsc.stroke_dsc.style = LV_VECTOR_DRAW_STYLE_GRADIENT; in lv_vector_dsc_set_stroke_radial_gradient()
666 dsc->current_dsc.stroke_dsc.gradient.style = LV_VECTOR_GRADIENT_STYLE_RADIAL; in lv_vector_dsc_set_stroke_radial_gradient()
667 dsc->current_dsc.stroke_dsc.gradient.cx = cx; in lv_vector_dsc_set_stroke_radial_gradient()
668 dsc->current_dsc.stroke_dsc.gradient.cy = cy; in lv_vector_dsc_set_stroke_radial_gradient()
669 dsc->current_dsc.stroke_dsc.gradient.cr = radius; in lv_vector_dsc_set_stroke_radial_gradient()
674 dsc->current_dsc.stroke_dsc.gradient.spread = spread; in lv_vector_dsc_set_stroke_gradient_spread()
685 …lv_memcpy(&(dsc->current_dsc.stroke_dsc.gradient.stops), stops, sizeof(lv_gradient_stop_t) * count… in lv_vector_dsc_set_stroke_gradient_color_stops()
686 dsc->current_dsc.stroke_dsc.gradient.stops_count = count; in lv_vector_dsc_set_stroke_gradient_color_stops()
693 if(!lv_area_intersect(&rect, &(dsc->layer->_clip_area), &(dsc->current_dsc.scissor_area))) { in lv_vector_dsc_add_path()
697 if(dsc->current_dsc.fill_dsc.opa == 0 in lv_vector_dsc_add_path()
698 && dsc->current_dsc.stroke_dsc.opa == 0) { in lv_vector_dsc_add_path()
713 _copy_draw_dsc(&(new_task->dsc), &(dsc->current_dsc)); in lv_vector_dsc_add_path()
721 if(!lv_area_intersect(&r, &(dsc->layer->_clip_area), &(dsc->current_dsc.scissor_area))) { in lv_vector_clear_area()
734 new_task->dsc.fill_dsc.color = dsc->current_dsc.fill_dsc.color; in lv_vector_clear_area()
735 new_task->dsc.fill_dsc.opa = dsc->current_dsc.fill_dsc.opa; in lv_vector_clear_area()
758 lv_matrix_identity(&(dsc->current_dsc.matrix)); /*identity matrix*/ in lv_vector_dsc_identity()
763 lv_matrix_scale(&(dsc->current_dsc.matrix), scale_x, scale_y); in lv_vector_dsc_scale()
768 lv_matrix_rotate(&(dsc->current_dsc.matrix), degree); in lv_vector_dsc_rotate()
773 lv_matrix_translate(&(dsc->current_dsc.matrix), tx, ty); in lv_vector_dsc_translate()
778 lv_matrix_skew(&(dsc->current_dsc.matrix), skew_x, skew_y); in lv_vector_dsc_skew()