diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-07 17:00:08 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-07 17:02:08 +0300 |
commit | a688d32d209a45627da3e80128a933d70f5d48b6 (patch) | |
tree | 2bc9ab299010cae6abc4dc7f5342c6a5cc4c29b7 /libkms++util/kms++util.h | |
parent | d697a9546fa293df113fa9eec5ae82ca7ac2d192 (diff) |
util: add simple text drawing
Diffstat (limited to 'libkms++util/kms++util.h')
-rw-r--r-- | libkms++util/kms++util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkms++util/kms++util.h b/libkms++util/kms++util.h index 042887f..6c835c8 100644 --- a/libkms++util/kms++util.h +++ b/libkms++util/kms++util.h @@ -15,6 +15,7 @@ void draw_yuv422_macropixel(IMappedFramebuffer& buf, unsigned x, unsigned y, YUV void draw_yuv420_macropixel(IMappedFramebuffer& buf, unsigned x, unsigned y, YUV yuv1, YUV yuv2, YUV yuv3, YUV yuv4); void draw_rect(IMappedFramebuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color); +void draw_text(IMappedFramebuffer& buf, uint32_t x, uint32_t y, const std::string& str, RGB color); void draw_color_bar(IMappedFramebuffer& buf, int old_xpos, int xpos, int width); |