Searched refs:flat (Results 1 – 3 of 3) sorted by relevance
299 bool flat = LV_ABS(xdiff) > LV_ABS(ydiff) ? true : false; in draw_line_skew() local311 if(flat) wcorr_i = (LV_ABS(ydiff) << 5) / LV_ABS(xdiff); in draw_line_skew()335 if(flat) { in draw_line_skew()
131 uint8_t flat : 1; member
323 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()