Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dquads.cpp119 const float halfAdvance = glyph.metrics.advance / 2.0; in getGlyphQuads() local
123 Point<float>{ positionedGlyph.x + halfAdvance, positionedGlyph.y } : in getGlyphQuads()
128 …Point<float>{ positionedGlyph.x + halfAdvance + textOffset[0], positionedGlyph.y + textOffset[1] }; in getGlyphQuads()
131 const float x1 = glyph.metrics.left - rectBuffer - halfAdvance + builtInOffset.x; in getGlyphQuads()
149 const Point<float> center{-halfAdvance, halfAdvance}; in getGlyphQuads()