summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/clip_lines.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-09-13 13:44:20 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-16 09:00:54 -0700
commit1f375581c3a31adea9281a7494a73e5c8f1c9a17 (patch)
treef84a292e2600a3b7141450fb6f3020f453d9095a /src/mbgl/layout/clip_lines.hpp
parent9ef65440b6bfd2c8da17d2613f8c967682cc0ef9 (diff)
downloadqtlocation-mapboxgl-1f375581c3a31adea9281a7494a73e5c8f1c9a17.tar.gz
[core] Move {clip,merge}_lines to layout directory
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