Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dget_anchors.cpp11 …dowSize(const float textLeft, const float textRight, const float glyphSize, const float boxScale) { in getAngleWindowSize() argument
13 3.0f / 5.0f * glyphSize * boxScale : in getAngleWindowSize()
95 const float boxScale, in getAnchors() argument
105 const float angleWindowSize = getAngleWindowSize(textLeft, textRight, glyphSize, boxScale); in getAnchors()
108 const float labelLength = shapedLabelLength * boxScale; in getAnchors()
127 std::fmod((shapedLabelLength / 2 + fixedExtraOffset) * boxScale * overscaling, spacing) : in getAnchors()
140 const float boxScale) { in getCenterAnchor() argument
145 const float angleWindowSize = getAngleWindowSize(textLeft, textRight, glyphSize, boxScale); in getCenterAnchor()
146 const float labelLength = fmax(textRight - textLeft, iconRight - iconLeft) * boxScale; in getCenterAnchor()
H A Dcollision_feature.cpp13 const float boxScale, in CollisionFeature() argument
22 const float y1 = top * boxScale - padding; in CollisionFeature()
23 const float y2 = bottom * boxScale + padding; in CollisionFeature()
24 const float x1 = left * boxScale - padding; in CollisionFeature()
25 const float x2 = right * boxScale + padding; in CollisionFeature()
33 height = std::max(10.0f * boxScale, height); in CollisionFeature()
H A Dcollision_feature.hpp51 const float boxScale, in CollisionFeature() argument
56 …, shapedText.top, shapedText.bottom, shapedText.left, shapedText.right, boxScale, padding, placeme… in CollisionFeature()
67 const float boxScale, in CollisionFeature() argument
75 boxScale, in CollisionFeature()
86 const float boxScale,
H A Dget_anchors.hpp17 const float boxScale,
27 const float boxScale);