Home
last modified time | relevance | path

Searched refs:tileToViewport (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 Dcollision_index.cpp80 const float tileToViewport = textPixelRatio * projectedPoint.second; in placeFeature() local
81 box.px1 = box.x1 * tileToViewport + projectedPoint.first.x; in placeFeature()
82 box.py1 = box.y1 * tileToViewport + projectedPoint.first.y; in placeFeature()
83 box.px2 = box.x2 * tileToViewport + projectedPoint.first.x; in placeFeature()
84 box.py2 = box.y2 * tileToViewport + projectedPoint.first.y; in placeFeature()
132 const auto tileToViewport = projectedAnchor.first * textPixelRatio; in placeLineFeature() local
160 const float radius = tileUnitRadius * tileToViewport; in placeLineFeature()