Searched refs:was_off (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 1623 static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off, in stbtt__close_shape() argument 1627 if (was_off) in stbtt__close_shape() 1631 if (was_off) in stbtt__close_shape() 1656 stbtt_int32 ins, i,j=0,m,n, next_move, was_off=0, off, start_off=0; in stbtt__GetGlyphShapeTT() local 1733 …num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); in stbtt__GetGlyphShapeTT() 1757 was_off = 0; in stbtt__GetGlyphShapeTT() 1762 … if (was_off) // two off-curve control points in a row means interpolate an on-curve midpoint in stbtt__GetGlyphShapeTT() 1766 was_off = 1; in stbtt__GetGlyphShapeTT() 1768 if (was_off) in stbtt__GetGlyphShapeTT() 1772 was_off = 0; in stbtt__GetGlyphShapeTT() [all …]
|