summaryrefslogtreecommitdiff
path: root/src/mbgl/text/get_anchors.hpp
blob: 1f76685f9a9b9d7d05097ead3d315aae2be5872b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MBGL_TEXT_GETANCHORS
#define MBGL_TEXT_GETANCHORS

#include <mbgl/geometry/anchor.hpp>
#include <mbgl/tile/geometry_tile.hpp>
#include <mbgl/util/math.hpp>

namespace mbgl {

Anchors getAnchors(const GeometryCoordinates &line, float spacing,
        const float maxAngle, const float textLeft, const float textRight,
        const float iconLeft, const float iconRight,
        const float glyphSize, const float boxScale, const float overscaling);
} // namespace mbgl

#endif