summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/clip_lines.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/layout/clip_lines.hpp')
-rw-r--r--src/mbgl/layout/clip_lines.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mbgl/layout/clip_lines.hpp b/src/mbgl/layout/clip_lines.hpp
new file mode 100644
index 0000000000..c1cfd4bbb9
--- /dev/null
+++ b/src/mbgl/layout/clip_lines.hpp
@@ -0,0 +1,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