19#ifndef HEADER_FONT_DRAWER_HPP
20#define HEADER_FONT_DRAWER_HPP
41 void addGlyph(video::ITexture* texture,
42 const core::rect<float>& dest_rect,
43 const core::rect<s32>& source_rect,
44 const core::rect<s32>* clip_rect,
45 const video::SColor* color);
47 inline void addGlyph(video::ITexture* texture,
48 const core::rect<float>& dest_rect,
49 const core::rect<s32>& source_rect,
50 const core::rect<s32>* clip_rect,
51 const video::SColor& color)
53 std::array<video::SColor, 4> colors = {{ color, color, color, color }};
54 addGlyph(texture, dest_rect, source_rect, clip_rect, colors.data());