Searched refs:x_top (Results 1 – 1 of 1) sorted by relevance
2997 float x_top, x_bottom; in stbtt__fill_active_edges_new() local3006 x_top = x0 + dx * (e->sy - y_top); in stbtt__fill_active_edges_new()3009 x_top = x0; 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()3026 int x = (int) x_top; 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()3049 x1 = (int) x_top; in stbtt__fill_active_edges_new()[all …]