#pragma once #include #include "ImageLoader.h" #include "Rect.h" #include "Font.h" namespace charcoal { class ImageFont : public Font { public: ImageFont(const image_loader::ImageRGBA& image, std::map> character_locations); protected: const image_loader::ImageRGBA& get_character(char character); private: std::map m_character_images; }; }