Create accessor functions for placefile fonts

This commit is contained in:
Dan Paulat 2023-07-22 01:29:25 -05:00
parent 783e8f3490
commit 4ee7731023
2 changed files with 19 additions and 0 deletions

View file

@ -84,6 +84,9 @@ public:
*/
std::vector<std::shared_ptr<DrawItem>> GetDrawItems();
std::unordered_map<std::size_t, std::shared_ptr<Font>> fonts();
std::shared_ptr<Font> font(std::size_t i);
static std::shared_ptr<Placefile> Load(const std::string& filename);
static std::shared_ptr<Placefile> Load(std::istream& is);