Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_line.c299 bool flat = LV_ABS(xdiff) > LV_ABS(ydiff) ? true : false; in draw_line_skew() local
311 if(flat) wcorr_i = (LV_ABS(ydiff) << 5) / LV_ABS(xdiff); in draw_line_skew()
335 if(flat) { in draw_line_skew()
/lvgl-3.7.0/src/draw/
Dlv_draw_mask.h131 uint8_t flat : 1; member
Dlv_draw_mask.c323 param->flat = (LV_ABS(p2x - p1x) > LV_ABS(p2y - p1y)) ? 1 : 0; in lv_draw_mask_line_points_init()
332 if(param->flat) { in lv_draw_mask_line_points_init()
608 if(p->flat) { in lv_draw_mask_line()
647 if(p->flat) { in lv_draw_mask_line()
1288 if(line_p.steep == 0 && line_p.flat) { in lv_draw_mask_polygon()
1304 if(line_p.steep == 0 && line_p.flat) { in lv_draw_mask_polygon()