summaryrefslogtreecommitdiff
path: root/src/mbgl/text/quads.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-09-06 16:11:29 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-09-07 17:56:38 +0200
commitf3191dbbb48f6700419f193ff68cf86a50336190 (patch)
treec1b0bf865ccd74cc0c17a1ba165938c348bb688c /src/mbgl/text/quads.hpp
parent1845919c25e5ff8845183e1d3e1eeed0b2f09e0c (diff)
downloadqtlocation-mapboxgl-f3191dbbb48f6700419f193ff68cf86a50336190.tar.gz
[core] change bool *AlongLine to SymbolPlacementType
Diffstat (limited to 'src/mbgl/text/quads.hpp')
-rw-r--r--src/mbgl/text/quads.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/text/quads.hpp b/src/mbgl/text/quads.hpp
index dd64af682a..d4edbf9493 100644
--- a/src/mbgl/text/quads.hpp
+++ b/src/mbgl/text/quads.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <mbgl/text/glyph.hpp>
+#include <mbgl/style/types.hpp>
#include <mbgl/tile/geometry_tile_data.hpp>
#include <vector>
@@ -40,10 +41,10 @@ typedef std::vector<SymbolQuad> SymbolQuads;
SymbolQuads getIconQuads(Anchor& anchor, const PositionedIcon& shapedIcon,
const GeometryCoordinates& line, const style::SymbolLayoutProperties&,
- const bool alongLine, const Shaping& shapedText);
+ style::SymbolPlacementType placement, const Shaping& shapedText);
SymbolQuads getGlyphQuads(Anchor& anchor, const Shaping& shapedText,
const float boxScale, const GeometryCoordinates& line, const style::SymbolLayoutProperties&,
- const bool alongLine, const GlyphPositions& face);
+ style::SymbolPlacementType placement, const GlyphPositions& face);
} // namespace mbgl