Searched refs:glyph_center (Results 1 – 1 of 1) sorted by relevance
1826 double glyph_center = (gp->x_pos.start + gp->x_pos.end) / 2; in GetGlyphPositionAtCoordinate() local1831 if ((direction == TextDirection::ltr && dx < glyph_center) || in GetGlyphPositionAtCoordinate()1832 (direction == TextDirection::rtl && dx >= glyph_center) || in GetGlyphPositionAtCoordinate()1904 double glyph_center = (gp->x_pos.start + gp->x_pos.end) / 2; in GetGlyphPositionAtCoordinateWithCluster() local1906 if ((direction == TextDirection::ltr && dx < glyph_center) || in GetGlyphPositionAtCoordinateWithCluster()1907 (direction == TextDirection::rtl && dx >= glyph_center)) { in GetGlyphPositionAtCoordinateWithCluster()1913 …glyph_center = (line_glyph_position[cluster_start].x_pos.start + line_glyph_position[cluster_end].… in GetGlyphPositionAtCoordinateWithCluster()1914 if ((direction == TextDirection::ltr && dx < glyph_center) || in GetGlyphPositionAtCoordinateWithCluster()1915 (direction == TextDirection::rtl && dx >= glyph_center)) { in GetGlyphPositionAtCoordinateWithCluster()