diff options
Diffstat (limited to 'src/mbgl/geometry/debug_font_buffer.hpp')
-rw-r--r-- | src/mbgl/geometry/debug_font_buffer.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mbgl/geometry/debug_font_buffer.hpp b/src/mbgl/geometry/debug_font_buffer.hpp new file mode 100644 index 0000000000..802b5dbaac --- /dev/null +++ b/src/mbgl/geometry/debug_font_buffer.hpp @@ -0,0 +1,17 @@ +#ifndef MBGL_GEOMETRY_DEBUG_FONT_BUFFER +#define MBGL_GEOMETRY_DEBUG_FONT_BUFFER + +#include <mbgl/geometry/buffer.hpp> + +namespace mbgl { + +class DebugFontBuffer : public Buffer< + 4 // 2 bytes per coordinate, 2 coordinates +> { +public: + void addText(const char *text, double left, double baseline, double scale = 1); +}; + +} + +#endif |