Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/
Dlv_draw_mask.c807 int32_t xsf = xs & 0xFF; in line_mask_steep() local
817 if(xsi != xei && (p->xy_steep < 0 && xsf == 0)) { in line_mask_steep()
818 xsf = 0xFF; in line_mask_steep()
825 m = (xsf + xef) >> 1; in line_mask_steep()
849 y_inters = (xsf * (-p->yx_steep)) >> 10; in line_mask_steep()
851 m = (y_inters * xsf) >> 9; in line_mask_steep()
881 y_inters = ((255 - xsf) * p->yx_steep) >> 10; in line_mask_steep()
883 m = 255 - ((y_inters * (255 - xsf)) >> 9); in line_mask_steep()