Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h5042 float dist, dist2 = (x0 - sx) * (x0 - sx) + (y0 - sy) * (y0 - sy); local
5043 if(dist2 < min_dist * min_dist)
5044 min_dist = (float)STBTT_sqrt(dist2);
5078 float px, py, t, it, dist2; local
5107 dist2 = (x0 - sx) * (x0 - sx) + (y0 - sy) * (y0 - sy);
5108 if(dist2 < min_dist * min_dist)
5109 min_dist = (float)STBTT_sqrt(dist2);
5115 dist2 = (px - sx) * (px - sx) + (py - sy) * (py - sy);
5116 if(dist2 < min_dist * min_dist)
5117 min_dist = (float)STBTT_sqrt(dist2);
[all …]