diff options
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r-- | src/mbgl/text/glyph.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp index 6aa4e11b1c..10bdeeea4a 100644 --- a/src/mbgl/text/glyph.hpp +++ b/src/mbgl/text/glyph.hpp @@ -4,7 +4,6 @@ #include <mbgl/util/font_stack.hpp> #include <mbgl/util/rect.hpp> #include <mbgl/util/traits.hpp> -#include <mbgl/util/image.hpp> #include <cstdint> #include <vector> @@ -84,21 +83,6 @@ class Shaping { explicit operator bool() const { return !positionedGlyphs.empty(); } }; -class SDFGlyph { -public: - // We're using this value throughout the Mapbox GL ecosystem. If this is different, the glyphs - // also need to be reencoded. - static constexpr const uint8_t borderSize = 3; - - GlyphID id = 0; - - // A signed distance field of the glyph with a border (see above). - AlphaImage bitmap; - - // Glyph metrics - GlyphMetrics metrics; -}; - enum class WritingModeType : uint8_t { None = 0, Horizontal = 1 << 0, |