Lines Matching refs:sx
29 lv_coord_t sx; /*-1: x1 < x2; 1: x2 >= x1*/ member
164 … main_line.sx = LV_MATH_ABS(main_line.sx); /*The sign can change if the line becomes vertical*/ in lv_draw_line()
170 … main_line.sx = -LV_MATH_ABS(main_line.sx); /*The sign can change if the line becomes vertical*/ in lv_draw_line()
350 if(main_line->sx < 0) { in line_draw_skew()
400 if(main_line->sx < 0) { in line_draw_skew()
402 … main_line->p1.y + pattern[aa_last_corner].y - 1, seg_w + main_line->sx, mask, in line_draw_skew()
406 … main_line->p2.y + pattern[aa_last_corner].y + 1, -(seg_w + main_line->sx), mask, in line_draw_skew()
411 … main_line->p1.y + pattern[aa_last_corner].y - 1, seg_w + main_line->sx, mask, in line_draw_skew()
415 … main_line->p2.y + pattern[aa_last_corner].y + 1, -(seg_w + main_line->sx), mask, in line_draw_skew()
429 if(main_line->sx < 0) { in line_draw_skew()
526 … lv_draw_px(draw_area.x1 - main_line->sx, draw_area.y1, mask, style->line.color, opa); in line_draw_skew()
558 … lv_draw_px(draw_area.x1 - main_line->sx, draw_area.y1, mask, style->line.color, opa); in line_draw_skew()
581 line->sx = line->p1.x < line->p2.x ? 1 : -1; in line_init()
598 line->p_act.x += line->sx; in line_next()