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

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

namespace mbgl {
namespace util {

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

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