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

#include <mbgl/tile/geometry_tile.hpp>

namespace mbgl {

struct Anchor;

bool checkMaxAngle(const GeometryCoordinates &line, Anchor &anchor, const float labelLength,
        const float windowSize, const float maxAngle);

} // namespace mbgl

#endif