Searched refs:labelLength (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 D | get_anchors.cpp | 30 const float labelLength, in resample() argument 33 const float halfLabelLength = labelLength / 2.0f; in resample() 66 … if (!angleWindowSize || checkMaxAngle(line, anchor, labelLength, angleWindowSize, maxAngle)) { in resample() 81 …anchors = resample(line, distance / 2, spacing, angleWindowSize, maxAngle, labelLength, continuedL… in resample() 108 const float labelLength = shapedLabelLength * boxScale; in getAnchors() local 115 if (spacing - labelLength < spacing / 4) { in getAnchors() 116 spacing = labelLength + spacing / 4; in getAnchors() 130 …return resample(line, offset, spacing, angleWindowSize, maxAngle, labelLength, continuedLine, fals… in getAnchors() 146 const float labelLength = fmax(textRight - textLeft, iconRight - iconLeft) * boxScale; in getCenterAnchor() local 166 … if (!angleWindowSize || checkMaxAngle(line, anchor, labelLength, angleWindowSize, maxAngle)) { in getCenterAnchor()
|
| H A D | collision_feature.cpp | 43 … const int segment, const float labelLength, const float boxSize, const float overscaling) { in bboxifyLabel() argument 45 const int nBoxes = std::max(static_cast<int>(std::floor(labelLength / step)), 1); in bboxifyLabel() 65 const float labelStartDistance = -labelLength / 2; in bboxifyLabel() 66 const float paddingStartDistance = labelStartDistance - labelLength / 8; in bboxifyLabel() 98 if (boxOffset > labelLength) boxDistanceToAnchor += boxOffset - labelLength; in bboxifyLabel()
|
| H A D | check_max_angle.cpp | 18 const float labelLength, in checkMaxAngle() argument 30 while (anchorDistance > -labelLength / 2) { in checkMaxAngle() 48 while (anchorDistance < labelLength / 2) { in checkMaxAngle()
|
| H A D | check_max_angle.hpp | 11 const float labelLength,
|