summaryrefslogtreecommitdiff
path: root/include/llmr/geometry/debug_font_buffer.hpp
blob: 15f6daf07fc217fe414e9915ffe75a54b912186d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LLMR_GEOMETRY_DEBUG_FONT_BUFFER
#define LLMR_GEOMETRY_DEBUG_FONT_BUFFER

#include "buffer.hpp"

namespace llmr {

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