summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry/debug_font_buffer.hpp
blob: 802b5dbaac643f44c7a6d243a3fbadddf03efa20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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