#pragma once #include #include #include #include #include #include using namespace Eigen; struct FontData { FontData(); sk_sp mgr; sk_sp collection; std::unordered_map> map; ~FontData(); }; Vector2f get_str_font_bounds(const SkFont& font, const std::string& str);