Searched refs:symbolInstance (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 | placement.cpp | 113 for (auto& symbolInstance : bucket.symbolInstances) { in placeLayerBucket() local 115 if (seenCrossTileIDs.count(symbolInstance.crossTileID) == 0) { in placeLayerBucket() 119 placements.emplace(symbolInstance.crossTileID, JointPlacement(false, false, false)); in placeLayerBucket() 127 if (symbolInstance.placedTextIndex) { in placeLayerBucket() 128 … PlacedSymbol& placedSymbol = bucket.text.placedSymbols.at(*symbolInstance.placedTextIndex); in placeLayerBucket() 131 auto placed = collisionIndex.placeFeature(symbolInstance.textCollisionFeature, in placeLayerBucket() 141 if (symbolInstance.placedIconIndex) { in placeLayerBucket() 142 … PlacedSymbol& placedSymbol = bucket.icon.placedSymbols.at(*symbolInstance.placedIconIndex); in placeLayerBucket() 145 auto placed = collisionIndex.placeFeature(symbolInstance.iconCollisionFeature, in placeLayerBucket() 155 … const bool iconWithoutText = !symbolInstance.hasText || bucket.layout.get<style::TextOptional>(); in placeLayerBucket() [all …]
|
| H A D | cross_tile_symbol_index.cpp | 12 for (SymbolInstance& symbolInstance : symbolInstances) { in TileLayerIndex() 13 …indexedSymbolInstances[symbolInstance.key].emplace_back(symbolInstance.crossTileID, getScaledCoord… in TileLayerIndex() 17 Point<int64_t> TileLayerIndex::getScaledCoordinates(SymbolInstance& symbolInstance, const Overscale… in getScaledCoordinates() argument 22 …static_cast<int64_t>(std::floor((childTileCoord.canonical.x * util::EXTENT + symbolInstance.anchor… in getScaledCoordinates() 23 …static_cast<int64_t>(std::floor((childTileCoord.canonical.y * util::EXTENT + symbolInstance.anchor… in getScaledCoordinates() 30 for (auto& symbolInstance : symbolInstances) { in findMatches() local 31 if (symbolInstance.crossTileID) { in findMatches() 36 auto it = indexedSymbolInstances.find(symbolInstance.key); in findMatches() 42 auto scaledSymbolCoord = getScaledCoordinates(symbolInstance, newCoord); in findMatches() 54 symbolInstance.crossTileID = thisTileSymbol.crossTileID; in findMatches() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/ |
| H A D | symbol_layout.cpp | 419 for (SymbolInstance &symbolInstance : bucket->symbolInstances) { in place() 421 const bool hasText = symbolInstance.hasText; in place() 422 const bool hasIcon = symbolInstance.hasIcon; in place() 424 const auto& feature = features.at(symbolInstance.layoutFeatureIndex); in place() 430 …bucket->text.placedSymbols.emplace_back(symbolInstance.anchor.point, symbolInstance.anchor.segment… in place() 431 …symbolInstance.textOffset, symbolInstance.writingModes, symbolInstance.line, CalculateTileDistance… in place() 432 symbolInstance.placedTextIndex = bucket->text.placedSymbols.size() - 1; in place() 436 for (const auto& symbol : symbolInstance.horizontalGlyphQuads) { in place() 439 symbolInstance.anchor, horizontalSymbol); in place() 446 if (symbolInstance.writingModes & WritingModeType::Vertical) { in place() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/ |
| H A D | symbol_bucket.cpp | 210 const SymbolInstance& symbolInstance = symbolInstances[i]; in sortFeatures() local 211 featureSortOrder->push_back(symbolInstance.dataFeatureIndex); in sortFeatures() 213 if (symbolInstance.placedTextIndex) { in sortFeatures() 214 addPlacedSymbol(text.triangles, text.placedSymbols[*symbolInstance.placedTextIndex]); in sortFeatures() 216 if (symbolInstance.placedVerticalTextIndex) { in sortFeatures() 217 … addPlacedSymbol(text.triangles, text.placedSymbols[*symbolInstance.placedVerticalTextIndex]); in sortFeatures() 219 if (symbolInstance.placedIconIndex) { in sortFeatures() 220 addPlacedSymbol(icon.triangles, icon.placedSymbols[*symbolInstance.placedIconIndex]); in sortFeatures()
|