charcoal/OpenGLEngine/Font.h

17 lines
265 B
C
Raw Normal View History

#pragma once
#include <string>
#include "ImageLoader.h"
namespace charcoal
{
class Font
{
public:
image_loader::ImageRGBA get_text_image(const std::string& text);
protected:
virtual const image_loader::ImageRGBA& get_character(char character) = 0;
};
}