Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimstb_truetype.h2997 float x_top, x_bottom; in stbtt__fill_active_edges_new() local
3013 x_bottom = x0 + dx * (e->ey - y_top); in stbtt__fill_active_edges_new()
3016 x_bottom = xb; in stbtt__fill_active_edges_new()
3020 if (x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) { in stbtt__fill_active_edges_new()
3023 if ((int) x_top == (int) x_bottom) { in stbtt__fill_active_edges_new()
3029 scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; in stbtt__fill_active_edges_new()
3035 if (x_top > x_bottom) { in stbtt__fill_active_edges_new()
3041 t = x_bottom, x_bottom = x_top, x_top = t; in stbtt__fill_active_edges_new()
3050 x2 = (int) x_bottom; in stbtt__fill_active_edges_new()
3069 scanline[x2] += area + sign * (1-((x2-x2)+(x_bottom-x2))/2) * (sy1-y_crossing); in stbtt__fill_active_edges_new()