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