summaryrefslogtreecommitdiff
path: root/include/mbgl/geometry/debug_font_buffer.hpp
blob: 7cceb0f576b40c85a4f2e689b9e576c5a8effd84 (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 "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