summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/clip_lines.hpp
blob: c1cfd4bbb9bd6372462d84c369e0747b4f840f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <map>
#include <string>
#include <vector>
#include <mbgl/tile/geometry_tile_data.hpp>

namespace mbgl {
namespace util {


GeometryCollection clipLines(const GeometryCollection &lines,
        const int16_t x1, const int16_t y1, const int16_t x2, const int16_t y2);

} // end namespace util
} // end namespace mbgl