Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_index.cpp117 const auto firstAndLastGlyph = placeFirstAndLastGlyph( in placeLineFeature() local
139 if (firstAndLastGlyph) { in placeLineFeature()
140 …firstTileDistance = approximateTileDistance(*(firstAndLastGlyph->first.tileDistance), firstAndLast… in placeLineFeature()
141 …lastTileDistance = approximateTileDistance(*(firstAndLastGlyph->second.tileDistance), firstAndLast… in placeLineFeature()
148 if (!firstAndLastGlyph || in placeLineFeature()
218 return {!collisionDetected && firstAndLastGlyph && inGrid, entirelyOffscreen}; in placeLineFeature()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.cpp301 const optional<std::pair<PlacedGlyph, PlacedGlyph>> firstAndLastGlyph = in placeGlyphsAlongLine() local
303 if (!firstAndLastGlyph) { in placeGlyphsAlongLine()
307 … const Point<float> firstPoint = project(firstAndLastGlyph->first.point, glCoordMatrix).first; in placeGlyphsAlongLine()
308 … const Point<float> lastPoint = project(firstAndLastGlyph->second.point, glCoordMatrix).first; in placeGlyphsAlongLine()
317 placedGlyphs.push_back(firstAndLastGlyph->first); in placeGlyphsAlongLine()
324 placedGlyphs.push_back(firstAndLastGlyph->second); in placeGlyphsAlongLine()