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

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

namespace mbgl {

Anchors getAnchors(const std::vector<Coordinate> &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);
}

#endif