1 #pragma once
2 
3 #include <mbgl/geometry/anchor.hpp>
4 #include <mbgl/tile/geometry_tile_data.hpp>
5 #include <mbgl/util/math.hpp>
6 
7 namespace mbgl {
8 
9 Anchors getAnchors(const GeometryCoordinates& line,
10                    float spacing,
11                    const float maxAngle,
12                    const float textLeft,
13                    const float textRight,
14                    const float iconLeft,
15                    const float iconRight,
16                    const float glyphSize,
17                    const float boxScale,
18                    const float overscaling);
19 
20 optional<Anchor> getCenterAnchor(const GeometryCoordinates& line,
21                                  const float maxAngle,
22                                  const float textLeft,
23                                  const float textRight,
24                                  const float iconLeft,
25                                  const float iconRight,
26                                  const float glyphSize,
27                                  const float boxScale);
28 
29 
30 } // namespace mbgl
31