Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/draw/sw/
Dlv_draw_sw_line.c300 bool flat = LV_ABS(xdiff) > LV_ABS(ydiff) ? true : false; in draw_line_skew() local
312 if(flat) wcorr_i = (LV_ABS(ydiff) << 5) / LV_ABS(xdiff); in draw_line_skew()
336 if(flat) { in draw_line_skew()
/lvgl-3.5.0/src/draw/
Dlv_draw_mask.h134 uint8_t flat : 1; member
Dlv_draw_mask.c322 param->flat = (LV_ABS(p2x - p1x) > LV_ABS(p2y - p1y)) ? 1 : 0; in lv_draw_mask_line_points_init()
331 if(param->flat) { in lv_draw_mask_line_points_init()
607 if(p->flat) { in lv_draw_mask_line()
646 if(p->flat) { in lv_draw_mask_line()
1290 if(line_p.steep == 0 && line_p.flat) { in lv_draw_mask_polygon()
1306 if(line_p.steep == 0 && line_p.flat) { in lv_draw_mask_polygon()