Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_transform.c86 point_transform_dsc_t tr_dsc; in lv_draw_sw_transform() local
87 tr_dsc.angle = -draw_dsc->angle; in lv_draw_sw_transform()
88 tr_dsc.zoom = (256 * 256) / draw_dsc->zoom; in lv_draw_sw_transform()
89 tr_dsc.pivot = draw_dsc->pivot; in lv_draw_sw_transform()
91 int32_t angle_low = tr_dsc.angle / 10; in lv_draw_sw_transform()
93 int32_t angle_rem = tr_dsc.angle - (angle_low * 10); in lv_draw_sw_transform()
101 tr_dsc.sinma = (s1 * (10 - angle_rem) + s2 * angle_rem) / 10; in lv_draw_sw_transform()
102 tr_dsc.cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_draw_sw_transform()
103 tr_dsc.sinma = tr_dsc.sinma >> (LV_TRIGO_SHIFT - 10); in lv_draw_sw_transform()
104 tr_dsc.cosma = tr_dsc.cosma >> (LV_TRIGO_SHIFT - 10); in lv_draw_sw_transform()
[all …]
/lvgl-3.7.0/src/core/
Dlv_obj_style.c325 const _lv_obj_style_transition_dsc_t * tr_dsc) in _lv_obj_style_create_transition() argument
332 lv_style_value_t v1 = lv_obj_get_style_prop(obj, part, tr_dsc->prop); in _lv_obj_style_create_transition()
334 lv_style_value_t v2 = lv_obj_get_style_prop(obj, part, tr_dsc->prop); in _lv_obj_style_create_transition()
339 v1 = lv_obj_get_style_prop(obj, part, tr_dsc->prop); in _lv_obj_style_create_transition()
343 …lv_style_set_prop(style_trans->style, tr_dsc->prop, v1); /*Be sure `trans_style` has a valid val… in _lv_obj_style_create_transition()
345 if(tr_dsc->prop == LV_STYLE_RADIUS) { in _lv_obj_style_create_transition()
360 tr->prop = tr_dsc->prop; in _lv_obj_style_create_transition()
370 lv_anim_set_time(&a, tr_dsc->time); in _lv_obj_style_create_transition()
371 lv_anim_set_delay(&a, tr_dsc->delay); in _lv_obj_style_create_transition()
372 lv_anim_set_path_cb(&a, tr_dsc->path_cb); in _lv_obj_style_create_transition()
[all …]