Searched refs:tangent_shift (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/libnrtype/
H A DLayout-TNG-Output.cpp765 double tangent_shift = -cluster_width * 0.5 + _glyphs[glyph_index].x - (_characters[char_index].x + span.x_start); local
768 tangent_shift += cluster_width;
770 _glyphs[glyph_index].x = midpoint[Geom::X] + tangent[Geom::X] * tangent_shift - tangent[Geom::Y] * _glyphs[glyph_index].y - span.chunk(this).left_x;
771 _glyphs[glyph_index].y = midpoint[Geom::Y] + tangent[Geom::Y] * tangent_shift + tangent[Geom::X] * _glyphs[glyph_index].y - _lines.front().baseline_y;

Completed in 21 milliseconds