Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/tiny_ttf/
Dstb_truetype_htcw.h3417 float x_top, x_bottom; local
3434 x_bottom = x0 + dx * (e->ey - y_top);
3438 x_bottom = xb;
3442 if(x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) {
3445 if((int)x_top == (int)x_bottom) {
3451 … scanline[x] += stbtt__position_trapezoid_area(height, x_top, x + 1.0f, x_bottom, x + 1.0f);
3458 if(x_top > x_bottom) {
3464 t = x_bottom, x_bottom = x_top, x_top = t;
3473 x2 = (int)x_bottom;
3539 … + sign * stbtt__position_trapezoid_area(sy1 - y_final, (float)x2, x2 + 1.0f, x_bottom, x2 + 1.0f);