summaryrefslogtreecommitdiff
path: root/src/mbgl/text
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-03-13 23:17:14 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-03-29 16:18:41 +0200
commitcb64dbe0d63bafd3fda7488be9d8253b480b2ce5 (patch)
tree6589ed57960ad68f393fde1250c414ef7a873c5f /src/mbgl/text
parentdbbfc4a494c78124ce218a6624ede795456e9ff5 (diff)
downloadqtlocation-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.hpp6
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