Lines Matching defs:y_top
11702 struct nk_tt__active_edge *e, float y_top)
11704 float y_bottom = y_top+1;
11709 NK_ASSERT(e->ey >= y_top);
11714 nk_tt__handle_clipped_edge(scanline,(int) x0,e, x0,y_top, x0,y_bottom);
11715 nk_tt__handle_clipped_edge(scanline_fill-1,(int) x0+1,e, x0,y_top, x0,y_bottom);
11717 nk_tt__handle_clipped_edge(scanline_fill-1,0,e, x0,y_top, x0,y_bottom);
11727 NK_ASSERT(e->sy <= y_bottom && e->ey >= y_top);
11731 /* line with y_top, but that may be off the line segment. */
11732 if (e->sy > y_top) {
11733 x_top = x0 + dx * (e->sy - y_top);
11737 y0 = y_top;
11741 x_bottom = x0 + dx * (e->ey - y_top);
11767 y0 = y_bottom - (y0 - y_top);
11768 y1 = y_bottom - (y1 - y_top);
11779 y_crossing = ((float)x1+1 - (float)x0) * (float)dy + (float)y_top;
11821 float ya = y_top;
11828 yb = ((float)x - x0) / dx + y_top;
11829 y2 = ((float)x+1 - x0) / dx + y_top;