summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-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