diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-03-13 23:17:14 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-29 16:18:41 +0200 |
commit | cb64dbe0d63bafd3fda7488be9d8253b480b2ce5 (patch) | |
tree | 6589ed57960ad68f393fde1250c414ef7a873c5f /src/mbgl/text | |
parent | dbbfc4a494c78124ce218a6624ede795456e9ff5 (diff) | |
download | qtlocation-mapboxgl-cb64dbe0d63bafd3fda7488be9d8253b480b2ce5.tar.gz |
[core] Introduce variable text placement for point labels - Render part
Diffstat (limited to 'src/mbgl/text')
-rw-r--r-- | src/mbgl/text/placement.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp index 32310f723e..673ea59c24 100644 --- a/src/mbgl/text/placement.hpp +++ b/src/mbgl/text/placement.hpp @@ -138,4 +138,10 @@ private: CollisionGroups collisionGroups; }; +Point<float> calculateVariableLayoutOffset(style::SymbolAnchorType anchor, + float width, + float height, + float radialOffset, + float textBoxScale); + } // namespace mbgl |