Lines Matching refs:stroke_dsc
65 dst->stroke_dsc.style = src->stroke_dsc.style; in _copy_draw_dsc()
66 dst->stroke_dsc.color = src->stroke_dsc.color; in _copy_draw_dsc()
67 dst->stroke_dsc.opa = src->stroke_dsc.opa; in _copy_draw_dsc()
68 dst->stroke_dsc.width = src->stroke_dsc.width; in _copy_draw_dsc()
69 dst->stroke_dsc.cap = src->stroke_dsc.cap; in _copy_draw_dsc()
70 dst->stroke_dsc.join = src->stroke_dsc.join; in _copy_draw_dsc()
71 dst->stroke_dsc.miter_limit = src->stroke_dsc.miter_limit; in _copy_draw_dsc()
72 lv_array_copy(&(dst->stroke_dsc.dash_pattern), &(src->stroke_dsc.dash_pattern)); in _copy_draw_dsc()
73 dst->stroke_dsc.gradient.style = src->stroke_dsc.gradient.style; in _copy_draw_dsc()
74 dst->stroke_dsc.gradient.cx = src->stroke_dsc.gradient.cx; in _copy_draw_dsc()
75 dst->stroke_dsc.gradient.cy = src->stroke_dsc.gradient.cy; in _copy_draw_dsc()
76 dst->stroke_dsc.gradient.cr = src->stroke_dsc.gradient.cr; in _copy_draw_dsc()
77 dst->stroke_dsc.gradient.spread = src->fill_dsc.gradient.spread; in _copy_draw_dsc()
78 … lv_memcpy(&(dst->stroke_dsc.gradient), &(src->stroke_dsc.gradient), sizeof(lv_vector_gradient_t)); in _copy_draw_dsc()
79 lv_memcpy(&(dst->stroke_dsc.matrix), &(src->stroke_dsc.matrix), sizeof(lv_matrix_t)); in _copy_draw_dsc()
484 lv_vector_stroke_dsc_t * stroke_dsc = &(dsc->current_dsc.stroke_dsc); in lv_vector_dsc_create() local
485 stroke_dsc->style = LV_VECTOR_DRAW_STYLE_SOLID; in lv_vector_dsc_create()
486 stroke_dsc->color = lv_color_to_32(lv_color_black(), 0xFF); in lv_vector_dsc_create()
487 stroke_dsc->opa = LV_OPA_0; /*default no stroke*/ in lv_vector_dsc_create()
488 stroke_dsc->width = 1.0f; in lv_vector_dsc_create()
489 stroke_dsc->cap = LV_VECTOR_STROKE_CAP_BUTT; in lv_vector_dsc_create()
490 stroke_dsc->join = LV_VECTOR_STROKE_JOIN_MITER; in lv_vector_dsc_create()
491 stroke_dsc->miter_limit = 4.0f; in lv_vector_dsc_create()
492 lv_matrix_identity(&(stroke_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()
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()
698 && dsc->current_dsc.stroke_dsc.opa == 0) { in lv_vector_dsc_add_path()
797 lv_array_deinit(&(task->dsc.stroke_dsc.dash_pattern)); in lv_vector_for_each_destroy_tasks()