Searched refs:x_top (Results 1 – 1 of 1) sorted by relevance
1926 float x_top, x_bottom; in stbtt__fill_active_edges_new() local1935 x_top = x0 + dx * (e->sy - y_top); in stbtt__fill_active_edges_new()1938 x_top = x0; in stbtt__fill_active_edges_new()1949 if (x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) { in stbtt__fill_active_edges_new()1952 if ((int) x_top == (int) x_bottom) { in stbtt__fill_active_edges_new()1955 int x = (int) x_top; in stbtt__fill_active_edges_new()1958 scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; in stbtt__fill_active_edges_new()1964 if (x_top > x_bottom) { in stbtt__fill_active_edges_new()1970 t = x_bottom, x_bottom = x_top, x_top = t; in stbtt__fill_active_edges_new()1976 x1 = (int) x_top; in stbtt__fill_active_edges_new()[all …]