diff options
Diffstat (limited to 'include/mbgl/geometry/debug_font_buffer.hpp')
-rw-r--r-- | include/mbgl/geometry/debug_font_buffer.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/mbgl/geometry/debug_font_buffer.hpp b/include/mbgl/geometry/debug_font_buffer.hpp new file mode 100644 index 0000000000..7cceb0f576 --- /dev/null +++ b/include/mbgl/geometry/debug_font_buffer.hpp @@ -0,0 +1,17 @@ +#ifndef MBGL_GEOMETRY_DEBUG_FONT_BUFFER +#define MBGL_GEOMETRY_DEBUG_FONT_BUFFER + +#include "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 |