diff options
Diffstat (limited to 'src/mbgl/text/glyph_set.hpp')
-rw-r--r-- | src/mbgl/text/glyph_set.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/text/glyph_set.hpp b/src/mbgl/text/glyph_set.hpp index 5714071650..40f87835fd 100644 --- a/src/mbgl/text/glyph_set.hpp +++ b/src/mbgl/text/glyph_set.hpp @@ -2,7 +2,7 @@ #define MBGL_TEXT_GLYPH_SET #include <mbgl/text/glyph.hpp> -#include <mbgl/util/vec.hpp> +#include <mbgl/util/geometry.hpp> namespace mbgl { @@ -12,9 +12,9 @@ public: const std::map<uint32_t, SDFGlyph> &getSDFs() const; const Shaping getShaping(const std::u32string &string, float maxWidth, float lineHeight, float horizontalAlign, float verticalAlign, float justify, - float spacing, const vec2<float> &translate) const; + float spacing, const Point<float> &translate) const; void lineWrap(Shaping &shaping, float lineHeight, float maxWidth, float horizontalAlign, - float verticalAlign, float justify, const vec2<float> &translate) const; + float verticalAlign, float justify, const Point<float> &translate) const; private: std::map<uint32_t, SDFGlyph> sdfs; |