Searched refs:objspace_flatness_squared (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 3395 …float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) in stbtt__tesselate_curve() argument 3405 …if (dx*dx+dy*dy > objspace_flatness_squared) { // half-pixel error allowed... need to be smaller i… in stbtt__tesselate_curve() 3406 …_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1); in stbtt__tesselate_curve() 3407 …_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1); in stbtt__tesselate_curve() 3415 …float x1, float y1, float x2, float y2, float x3, float y3, float objspace_flatness_squared, int n) in stbtt__tesselate_cubic() argument 3433 if (flatness_squared > objspace_flatness_squared) { in stbtt__tesselate_cubic() 3449 …__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1); in stbtt__tesselate_cubic() 3450 …__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1); in stbtt__tesselate_cubic() 3463 float objspace_flatness_squared = objspace_flatness * objspace_flatness; in stbtt_FlattenCurves() local 3510 objspace_flatness_squared, 0); in stbtt_FlattenCurves() [all …]
|