Home
last modified time | relevance | path

Searched refs:p2x (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.5.0/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c73 int32_t p2x; /* point P2 */ member
243 dst->p2x = src->p2x; in copy_arc()
282 fullarc->p2x = (int32_t)tang; in set_full_arc()
293 fullarc->p2x = 0 - fullarc->rad; in set_full_arc()
304 fullarc->p2x = 0 - (int32_t)tang; in set_full_arc()
315 fullarc->p2x = fullarc->rad; in set_full_arc()
404 float b2x = lerp((float)fullarc.p1x, (float)fullarc.p2x, t2); in get_subarc_control_points()
407 float c2x = lerp((float)fullarc.p2x, (float)fullarc.p3x, t2); in get_subarc_control_points()
427 float b1x = lerp((float)fullarc.p1x, (float)fullarc.p2x, t1); in get_subarc_control_points()
430 float c1x = lerp((float)fullarc.p2x, (float)fullarc.p3x, t1); in get_subarc_control_points()
[all …]
/lvgl-3.5.0/src/draw/
Dlv_draw_mask.c293 …line_points_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t p1y, lv_coord_t p2x, in lv_draw_mask_line_points_init() argument
305 t = p2x; in lv_draw_mask_line_points_init()
306 p2x = p1x; in lv_draw_mask_line_points_init()
316 param->cfg.p2.x = p2x; in lv_draw_mask_line_points_init()
322 param->flat = (LV_ABS(p2x - p1x) > LV_ABS(p2y - p1y)) ? 1 : 0; in lv_draw_mask_line_points_init()
328 int32_t dx = p2x - p1x; in lv_draw_mask_line_points_init()
396 int32_t p2x; in lv_draw_mask_line_angle_init() local
399 p2x = (lv_trigo_sin(angle + 90) >> 5) + p1x; in lv_draw_mask_line_angle_init()
402 lv_draw_mask_line_points_init(param, p1x, py, p2x, p2y, side); in lv_draw_mask_line_angle_init()
Dlv_draw_mask.h325 …line_points_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t p1y, lv_coord_t p2x,