Home
last modified time | relevance | path

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

/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.cc1772 const std::vector<GlyphPosition>& line_glyph_position = in GetGlyphPositionAtCoordinate() local
1774 if (line_glyph_position.empty()) { in GetGlyphPositionAtCoordinate()
1787 for (x_index = 0; x_index < line_glyph_position.size(); ++x_index) { in GetGlyphPositionAtCoordinate()
1788 double glyph_end = (x_index < line_glyph_position.size() - 1) in GetGlyphPositionAtCoordinate()
1789 ? line_glyph_position[x_index + 1].x_pos.start in GetGlyphPositionAtCoordinate()
1790 : line_glyph_position[x_index].x_pos.end; in GetGlyphPositionAtCoordinate()
1792 gp_cluster->cluster != line_glyph_position[x_index].cluster) { in GetGlyphPositionAtCoordinate()
1793 gp_cluster = &line_glyph_position[x_index]; in GetGlyphPositionAtCoordinate()
1798 if (gp_cluster->cluster == line_glyph_position[x_index].cluster) { in GetGlyphPositionAtCoordinate()
1801 if (gp_cluster != &line_glyph_position[x_index]) { in GetGlyphPositionAtCoordinate()
[all …]