blob: 904360ee84e2718fdf468214c431bbcea7692a88 (
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);
};
} // namespace mbgl
#endif
|